The author of this post, Chris Hanks, created the Que queueing library for Ruby: https://github.com/que-rb/que

It’s changed significantly since this post as the 1.x betas use a very different structure which should actually be more efficient, use fewer Postgres connections, cause less lock contention, and cause less table bloat.

Not sure if the benchmarks have been run recently or not but I’m definitely curious how things stack up to this post from 6 years ago :)

Wish I could use that in a Django app. Doesn't seem to be a viable python queueing library that allows using postgresql

I wrote django-postgres-queue for this purpose. It uses postgres transactions to keep queue and application state in sync. It also uses SKIP LOCKED to avoid some of the typical issues with using a database as a queue.

https://github.com/gavinwahl/django-postgres-queue