|
Boost : |
From: Arkadiy Vertleyb (vertleyb_at_[hidden])
Date: 2005-12-15 14:57:18
"Bardur Arantsson" <spam_at_[hidden]> wrote
> Thus limiting your #simultaneous connections to the number of threads in
> your thread pool. You can do better by doing all the parsing, request
> splitting, etc. in a async-using main acceptor thread and handing off
> smaller bits of work to the threads in the pool. That way you can
> exploit the fact that some threads may finish some parts of a given
> request early, and may be available to serve other connections.
Thus serving the same connection from different threads? I just don't
happen to like how this would impact the processing algorithm...
Regards,
Arkadiy
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk