View Single Post

   
  #1 (permalink)  
Old 03-06-2008, 03:04 PM
B D Jensen
 
Posts: n/a
Default Queue handling design pattern?

Hi!
I'm looking for other good ideas how to implement an queue where
multiple
jobs.

For now I have a single table with identity column and some
information about what to do. Combined with multiple jobs "eating"
from queue, e.g. they
take specific rows for that job corresponding to id % #queue
(modulus).

But each jobs take different time, so I see often that only half of
queues running
while long running jobs blocks for run of waiting jobs.

Best regards
Bjorn
Reply With Quote