[Web-SIG] Server-side async API implementation sketches

Alice Bevan–McGregor alice at gothcandy.com
Mon Jan 10 02:09:36 CET 2011


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.




More information about the Web-SIG mailing list