
on Wed Nov 05 2008, "vicente.botet" <vicente.botet-AT-wanadoo.fr> wrote:
enqueued before other new messages comming from the network, so B will be interleaved with A. What I'm missing?
data-flow: network -> stage A -> stage B -> network
If 10.000 clients are connected to the service and 1% of the clients send a large message then stage A is triggered to read/process 100 requests at the same time - possibly all threads of the pool are used by stage A and tasks of stage B are queued in the pool until a worker-thread are finished with items of A.
___________
Maybe, I would like to see some benchmarks.
Vicente
Hi Vicente, It's very difficult to follow a thread when it isn't clear which text you wrote and which text you are quoting. Please see the section titled "Use a Readable Quotation Style" at http://www.boost.org/community/policy.html#effective Thanks, -- Dave Abrahams BoostPro Computing http://www.boostpro.com