タグ

関連タグで絞り込む (1)

タグの絞り込みを解除

gearmanとperlに関するperezvonのブックマーク (2)

  • 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

  • Gearman で Capistrano の shell 機能みたいなのを - 酒日記 はてな支店

    Gearman で遊んでたら思いついたので書いておきます。ネタに近い。 複数台のマシンで同じコマンドを実行して結果を見たい、てなのを Gearman でやってみる。 worker: 自分の hostname を function 名として job server に登録。job の引数に受け取った文字列を shell にわせて実行する client: worker の動いているマシンの hostname を function 名として、実行したい shell command を投げる てなかんじ。 あらかじめ job_server になるマシンは決めて gearmand を実行しておき、コマンドを実行したいマシンで worker.pl を起動。 $ perl worker.pl sola # 引数は job_server名 job_server: sola myhostname: sola

    Gearman で Capistrano の shell 機能みたいなのを - 酒日記 はてな支店
  • 1