Reputation: 267390
I'm using rails 3, eventmachine and rabbitmq.
When I publish message(s) to a queue, I need to launch multiple worker processes.
I understand that eventmachine is solution for my scenerio.
Some tasks will take longer than others.
Using eventmachine, from most code samples it looks like only a single thread/process will be run at any given time.
How can I launch 2-4 worker processes at a single time?
Upvotes: 2
Views: 2011