Oct. 28, 2009
11:36 a.m.
Kristján Valur Jónsson <kristjan <at> ccpgames.com> writes:
In my experience (from stackless python) using priority wakeup for IO can
result in very erratic
scheduling when there is much IO going on, every IO trumping another.
I whipped up a trivial multithreaded HTTP server using socketserver.ThreadingMixin and wsgiref, and used apachebench against it with a reasonable concurrency level (10 requests at once). Enabling/disabling priority requests doesn't seem to make a difference. Regards Antoine.