using celluloid to communicate between services on different servers

57 views
Skip to first unread message

Marcelo Barbudas

unread,
Oct 29, 2012, 2:17:01 AM10/29/12
to cellulo...@googlegroups.com
Hi.

I'm trying to figure out if I can use celluloid for my current task: I have a Rails app(master) and 3 processes on different nodes doing different things (slaves).

I would like to be able to:
* use the master to tell slaves to perform various tasks. either async or not.
* if slaves are down the messages should stay in the queue and not get lost. once the slaves are up the job should get processed.

If it's possible how can I build it? I can see in the docs that there is a celluloid:io but there's no examples of a master executing tasks on it.

Thank you, and apologies for the noob questions.

-M.

Oskar Szrajer

unread,
Oct 29, 2012, 3:10:45 AM10/29/12
to cellulo...@googlegroups.com
why not use sidekiq? If i good understand you wanna do exactly what sidekiq do.

Jesse Cooke

unread,
Oct 29, 2012, 9:41:49 AM10/29/12
to cellulo...@googlegroups.com

Dcell?

Tony Arcieri

unread,
Oct 29, 2012, 9:44:51 PM10/29/12
to cellulo...@googlegroups.com
On Mon, Oct 29, 2012 at 12:10 AM, Oskar Szrajer <oskars...@gmail.com> wrote:
sidekiq?
 
On Mon, Oct 29, 2012 at 6:41 AM, Jesse Cooke <je...@jc00ke.com> wrote:

Dcell?

Ditto to either of these solutions. Both meet the basic description of the problem you've given so the devil is in the details. Sidekiq is more of a general purpose job queue, whereas DCell is more of a toolkit for building distributed systems.
 
--
Tony Arcieri

Reply all
Reply to author
Forward
0 new messages