Hacker News new | ask | show | jobs
by scarface74 3137 days ago
http://mikehadlow.blogspot.com/2012/04/database-as-queue-ant...
1 comments

The user doesn't need a queue though. They just need a process to find posts with a publish date of <= now that aren't published and publish them. That's a one line indempotent sql update statement in any decently architected application.
This was the other part of the comment I replied to:

Run cron on all your boxes, have them pull a job at a time from the database. Or shit, go full tilt with a clustered Redis job queue.

You're solving for the example but the original poster noted multiple jobs.