WebPagetest Forums
jobs from queue processed in temporal order? - Printable Version

+- WebPagetest Forums (https://www.webpagetest.org/forums)
+-- Forum: WebPagetest (/forumdisplay.php?fid=7)
+--- Forum: Bugs/Issues (/forumdisplay.php?fid=10)
+--- Thread: jobs from queue processed in temporal order? (/showthread.php?tid=10231)



jobs from queue processed in temporal order? - nilskuhn - 12-17-2011 12:01 AM

Hi,
I am using wpt-server and agents in version 2.5.
Just a question:
If an agent doesn't get all his jobs processed and the server-queue in ./work/jobs/locationXY/ fills up:
Are the jobs processed in temporal order or in alphabetical order (of the folder-name)?
Regards, Nils


RE: jobs from queue processed in temporal order? - pmeenan - 12-17-2011 12:10 AM

They should be processed in temporal order (by priority).

There are explicit queue files in tmp/<hash>.queue that keep the insertion order to make sure the order is maintained.

The queues can be re-generated from the directory if they are deleted and it will still be done in order of submit time but tests submitted within the same second could get reversed in that fringe case.