Skip to content
CarlFK edited this page Sep 13, 2010 · 1 revision

init handlers (create list of available slots (cores), holding queue)

main loop: every 30 seconds, poll()

poll

  1. looks for unhandled jobs (what table/field is it looking at?)
    for each unhandled job:
    mark job handled
    dispatch to handler(s?)

handler
add to queue
if open slot:
while queue:
remove from queue
mark job started
process
mark job ended

process
do work

Clone this wiki locally