Ruby Icon

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

logged by @logbot 2014-01-14T14:05:35Z permalink #ruby

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).

0:00 / 0:00