Re: Server-side async API implementation sketches

Alice Bevan–McGregor <alice-h+KYGxXtFYrqlBn2x/[email protected]>
Newsgroups gmane.comp.python.web
Message-ID <[email protected]>
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
[email protected]
Web SIG: http://www.python.org/sigs/web-sig
Unsubscribe: http://mail.python.org/mailman/options/web-sig/gcpw-web-sig%40m.gmane.org
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.