RubyFlow The Ruby and Rails community linklog

×

The Ruby and Rails community linklog

Made a library? Written a blog post? Found a useful tutorial? Share it with the Ruby community here or just enjoy what everyone else has found!

JobFu - Simple Asynchronous Processing

JobFu - Simple Asynchronous Processing solution uses the database as a backend queue. Enable you to set priority for jobs and send mail with Mailer.async_deliver_*

Comments

Thanks this looks great. I think that many applications do not have to handle thousand jobs/sec, so a complex setup with an AMQP server/etc is not always needed.

Thanks! Yes, that’s true. The most important is to get this tasks of the response/request cycle. I have been using workling/starling, it works great but it could feel to advance in some cases. With monitor tool like new relic it’s obvious that controller actions that involvs email can take a while, so it’s nice to be albe to off load stuff like this in a simple way.

Why not just use DelayedJob?

I think that is a matter of taste. I like the syntax for invoking method asynchronous and the background mailer feature. But that could be implemented on top of deplayed_job aswell.

Post a comment

You can use basic HTML markup (e.g. <a>) or Markdown.

As you are not logged in, you will be
directed via GitHub to signup or sign in