タグ

gearmanに関するouestのブックマーク (3)

  • GearmanをPHPから使ってみた。 - 個人事業主のつぶやき

    今回は、PHPでGearmanを使えるようにして、ざっと動きを確認してみました。 Gearmanの設定はこっち ちなみに、よく知らんのだけど、Gearmanは(GearmanClient::doのように)即時実行で結果をclientに返す用途がメジャーなのかな? ほかのサイトだと、そういう風に紹介されてました。 GearmanCient::doBackgroundをつかうと、TheSchwartzみたい?に ジョブを突っ込むだけ突っ込んであとはお願いね〜ということができるので 今回はこっちを使います。 はい、まず Gearman PHP Extensionを入れます。 yum install php-devel wget http://pecl.php.net/get/gearman-0.7.0.tgz tar xzf gearman-0.7.0.tgz cd gearman-0.7.0

    GearmanをPHPから使ってみた。 - 個人事業主のつぶやき
  • gearman を試してみた。 - エンジニアきまぐれTips

    gearman は、キューイングシステムの一種。姉妹品に TheSchwartz というのもある。 特徴は、 サーバプロセスがとても軽量 クライアントがジョブを登録するとワーカーが即座に処理する 欠点は、 サーバはメモリ上でジョブを管理しているため確実性を求める処理に向かない ワーカーの処理結果を期待する場合、タイムアウト処理が実装されていない とのこと。 Ubuntu 9.04 で gearman サーバをインストールして動作を試してみた。 インストール $ sudo aptitude install gearman-server/etc/default/gearman-server の修正 # Change this to true to enable the germand server ENABLED="true"ENABLED を "true" にしないと、 $ sudo /et

    gearman を試してみた。 - エンジニアきまぐれTips
  • tokuhirom blog

    Blog Search when-present<#else>when-missing. (These only cover the last step of the expression; to cover the whole expression, use parenthesis: (myOptionalVar.foo)!myDefault, (myOptionalVar.foo)?? ---- ---- FTL stack trace ("~" means nesting-related): - Failed at: ${entry.path} [in template "__entry.ftlh" at line 3, column 25] - Reached through: #include "__entry.ftlh" [in template "entry.ftlh" at

  • 1