Webアプリと同じプロセスにworker入れてお金が節約できる。 Webアプリは “リクエスト来る→サーバーで処理→レスポンス返す” というのを繰り返すわけだが、サーバーでの処理に時間がかかる場合にそこを別のプロセスに任せて、先にレスポンスを返しておいて、... 続きを読む
Episodes Archives Jobs The Changelog - Open Source moves fast. Keep up. Latest episode Episode 0.4.4 - Ruby 1.9 and Nokogiri with Aaron Patterson Wynn caught up with Aaron Patterson, to talk about Ruby 1.9, Nokogiri, and muscle cars. Go to ep... 続きを読む
This repository is private. All pages are served over SSL and all pushing and pulling is done over SSH. No one may fork, clone, or view it unless they are added as a member. Every repository with this icon () is private. This repository is pu... 続きを読む
This repository is private. All pages are served over SSL and all pushing and pulling is done over SSH. No one may fork, clone, or view it unless they are added as a member. Every repository with this icon () is private. This repository is pu... 続きを読む
Ruby/EventMachine での非同期サーバを Generator を使って同期サーバっぽく書く ruby, eventmachine | 04:24 | Ruby/EventMachine という、非同期サーバがお手軽に書けるライブラリを教えてもらいました。ほかにも、Rev というのもあるようですが、今回試した... 続きを読む
Rubyまたまた某サービスで、今度はメールを送るという要件が発生。しかも、ユーザごとに異なった内容を送るというもの。 テンプレートはErubisを使うとして、メール送信はどのライブラリを使おう。tmailかなぁ?とGoogle検索すると、eventmachineってものがある... 続きを読む