30 Oct
2012
30 Oct
'12
1:37 p.m.
Kristján Valur Jónsson wrote:
in StacklessIO (our custom sockets lib for stackless) multiple tasklets can have an "accept" pending on a socket, so that when multiple connections arrive, wakeup time is minimal.
With sufficiently cheap tasks, there's another way to approach this: one task is dedicated to accepting connections from the socket, and it spawns a new task to handle each connection. -- Greg