On Thu, Sep 30, 2010 at 07:37:54AM -0700, SteveG wrote:
> 
> What is the preferred approach for starting/stopping multiple workers
> in a production environment? For example I am planning to use ruote-dm
> for storage and run multiple workers on 2 machines. I will need a way
> to safely start/stop the workers. Since we are using rails is there a
> way to put this in the initializer so that when rails starts it can
> also start up multiple workers? I know it can start up 1 worker per
> instance but what about if we need to start multiple workers?

Hello Steve,

there is (for me) no preferred approach to this. You could do it via your shell 
or you could leverage Ruby's facilities for spawning processes.

Best regards,

-- 
John Mettraux - http://jmettraux.wordpress.com

-- 
you received this message because you are subscribed to the "ruote users" group.
to post : send email to [email protected]
to unsubscribe : send email to [email protected]
more options : http://groups.google.com/group/openwferu-users?hl=en

Reply via email to