There are plenty of queue systems like beanstalkd, gearman, etc., but what if you want to run the daemon as a service on windows, and do the processing of the jobs, stored in a sql database, your self?
Mainly I'm asking for suggestions for the best method to process jobs, locking them, etc.