I've been hearing about and reading about Gearman for a couple years now, but, due to the nature of my work, it's never really been something I needed to investigate; when you're writing backend code, scalability is something you leave to the end-users, right? Wrong! But perhaps an explanation is in order. Background We're looking at migrating to Git for our primary development on the framework. T
We’ve made the very difficult decision to cancel all future O’Reilly in-person conferences. Instead, we’ll continue to invest in and grow O’Reilly online learning, supporting the 5,000 companies and 2.5 million people who count on our experts to help them stay ahead in all facets of business and technology. Come join them and learn what they already know. Become an O’Reilly online learning member
なぜ JobQueue が必要なのか1つのプロセスで複数のジョブをやらせようとすると、読み込むライブラリが多くなってしまってプロセスがおおきくなるという問題があります。mod_perl に Imager を読ませると、各プロセスが重くてしかたありません。なので、Imager をロードした画像処理専用サーバーをたちあげたくなります。その役目は Imager 専用 gearman プロセスにやらせればいいでしょう。cron でプログラムを起動させたいのだが、ライブラリをいっぱいよむので起動に時間がかかるという場合。ライブラリを一通り読ませて常駐させている TheSchwartz の worker に対してジョブを enqueue するだけのプログラムを cron で kick するようにすれば、プロセス起動時間が短縮できて便利。daemon プロセスを IO 多重化により書いている場合、時間の
What is Gearman? Gearman provides a generic application framework to farm out work to other machines or processes that are better suited to do the work. It allows you to do work in parallel, to load balance processing, and to call functions between languages. It can be used in a variety of applications, from high-availability web sites to the transport of database replication events. In other word
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く