Ruby on Rails Monday, June 4, 2012

Hi ,
I am writing a scheduler with delayed_job as job processor. I have
a doubt whether I should run scheduler on top of delayed_job or can I
add the scheduler code on Worker.start method of delayed Job.

I want scheduler in separate thread and delayed job execution in
separate thread so that scheduler doesn't gets affected by longer
executing jobs in delayed jobs . say My scheduler should run for every
five minutes . If my delayed job takes more than 5 minutes then it
affects scheduler also . please help me in good design.

Thanks

--
Posted via http://www.ruby-forum.com/.

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

No comments:

Post a Comment