On 2011-01-09 17:06:28 -0800, Alice Bevan-McGregor said:
On 2011-01-09 09:03:38 -0800, P.J. Eby said:
The elephant in the room here is that while it's easy towrite these
example applications so they don't block, in practicepeople read files
and do database queries and what not in their requests, and those APIs
are generally synchronous.  So, unless they somehow fold their entire
application into a future, it doesn't work.

Actually, that's how multithreading support in marrow.server[.http] was
implemented.  Overhead?  40-60 RSecs.

Clarification here, that's less than 2% of total RSecs.

        - Alice.


_______________________________________________
Web-SIG mailing list
Web-SIG@python.org
Web SIG: http://www.python.org/sigs/web-sig
Unsubscribe: 
http://mail.python.org/mailman/options/web-sig/archive%40mail-archive.com

Reply via email to