Jerod Santo

Que leverages PostgreSQL's advisory locks to deliver a fast, reliable job queue

Que is the new kid on Ruby’s job-backgrounding block.

It takes advantage of PostgreSQL’s advisory locks to provide concurrency, efficiency, and safety. Chris Hanks – Que’s author – in an email to us, says: a benchmark on EC2's biggest compute-optimized instance it's capable of queuing and dequeuing almost 10,000 jobs per second, while DelayedJob and QueueClassic max out at around 500

Between that and its built-in support for transactions (for ActiveRecord and Sequel), Que looks pretty tantalizing to this long-time Resque user (and admitted Postgres fanboy).


Sign in or Join to comment or subscribe

Player art
  0:00 / 0:00