Message 162606 - Python tracker

Message162606

Author Nam.Nguyen
Recipients Nam.Nguyen, bquinlan, r.david.murray
Date 2012-06-11.04:46:07
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1339389968.28.0.512523483247.issue14119@psf.upfronthosting.co.za>
In-reply-to
Content
I used the ThreadPoolExecutor to process a large number (bounded) of input/output jobs. Because there were too many of them and the worker threads could not process them fast enough to drain them from the queue, the queue kept increasing in size.

It was okay for the script, though, to block, waiting for the queue to drain, before submitting new jobs. So I needed to limit the queue size.
History
Date User Action Args
2012-06-11 04:46:08Nam.Nguyensetrecipients: + Nam.Nguyen, bquinlan, r.david.murray
2012-06-11 04:46:08Nam.Nguyensetmessageid: <1339389968.28.0.512523483247.issue14119@psf.upfronthosting.co.za>
2012-06-11 04:46:07Nam.Nguyenlinkissue14119 messages
2012-06-11 04:46:07Nam.Nguyencreate