Choose Postgres queue technology
Terrible idea. Using a database for queues means using a file format that's not optimized for this, so, unless you don't delete the rows (effectively having a always-growing table) you'll run into performance issues. Also the index for a processed flag will cause contention.<p>I'm certain you can work around those issues, but why if you can use a proper queue?