How to deploy resque workers in production?

后端 未结 4 1781
悲哀的现实
悲哀的现实 2020-12-07 09:56

The GitHub guys recently released their background processing app which uses Redis: http://github.com/defunkt/resque http://github.com/blog/542-introducing-resque

I

4条回答
  •  醉酒成梦
    2020-12-07 10:13

    I'm a little late to the party, but thought I'd post what worked for me. Essentially, I have god setup to monitor redis and resque. If they aren't running anymore, god starts them back up. Then, I have a rake task that gets run after a capistrano deploy that quits my resque workers. Once the workers are quit, god will start new workers up so that they're running the latest codebase.

    Here is my full writeup of how I use resque in production:

    http://thomasmango.com/2010/05/27/resque-in-production

提交回复
热议问题