> On Monday, March 18, 2013 10:56:31 PM UTC+1, John Mettraux wrote:
> >
> > On Mon, Mar 18, 2013 at 02:46:16PM -0700, Ludovic wrote:
> > >
> > > Is anyone has a feedback to share about using Ruote with Sidekiq?
> > > I'm naively trying to "bundle exec sidekiq -r ruote.rb" with a ruote.rb
> > > containing the following lines:
> >
> > From ten thousands of kilometers away, it seems like you're trying to tell
> > Sidekiq to run ruote... Wouldn't it be the other way around? Ruote should
> > hand work via some participant to Sidekiq (and there should be a way for
> > Sidekiq jobs to communicate back to ruote, ruote-amqp would be a good
> > model to follow then).
>
On Tue, Mar 19, 2013 at 09:32:18AM -0700, Ludovic wrote:
>
> Anyway, concerning the queuing system between ruote and its participants,
> I'd like to use amqp.
> I've generate my participant with daemon-kit, it's up and waiting, but my
> processes are crashing with:

By the way, with my ruote-amqp remark, I did not mean that you should drop
Sideqik and go all AMQP.

My intention was to make a parallel between Sideqik and AMQP, there is a
queue, you place work on it and somewhere, something else is doing the work.

So my suggestion is rather to look at ruote-amqp as a model and implement
some kind of ruote-sidekiq participant to place work orders on Sidekiq
queues. Now I don't know enough of Sidekiq to think further about the "hey,
me the Sidekiq worker I'm done with the job, should I notify you bacK?" side
of the coin. In ruote-amqp, the "other side" is meant to push a new message
when it's done, it would probably be the same with an hypothetical
ruote-sidekiq.


Sorry to have gotten you running down this ruote-amqp path...

--
John Mettraux - http://lambda.io/jmettraux

-- 
-- 
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
--- 
You received this message because you are subscribed to the Google Groups 
"ruote" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to