Database-backed job queue system with throttling