What is the best way to schedule job from Rails to EventMachine server?

Without knowing more about your needs I cannot give a precise answer but here are some leads: RabbitMQ as mentionned Redis with subscriptions or lists ZeroMQ (your rails application would open a connection directly to your background eventmachine process and then closes it when done) Raw TCP/UDP (if you are needs are really simple) If you already have a redis server you can use its subscribe/publish feature or another thing I did which is to have a process do a brpop or blpop (the process will block on the call and take anything put in the queue right away) on a list and have your rails process push something to the list, it works pretty well.

– Alexey Zakharov Sep 4 at 15:57 I just listed some options (and I just noticed the formatting was horrible), it has advantages over raw TCP/UDP sockets but of all the methods I listed I would prefer redis/RabbitMQ depending on what you already use. – Schmurfy Sep 4 at 17:39.

The best way to schedule job from rails to eventmachine is (without quotes):.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions