3 ms·
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
by stephenr 9y ago
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.
- scarface74 9y agoThis 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.