Right. Thats the easy bit. I could even do that in Squid-2 with a
little bit of luck. The hard bit is rewriting the relevant code which
relies on cbdata style reference counting behaviour. That is the
tricky bit.



Adrian

2009/11/20 Robert Collins <robe...@robertcollins.net>:
> On Wed, 2009-11-18 at 10:46 +0800, Adrian Chadd wrote:
>> Plenty of kernels nowdays do a bit of TCP and socket process in
>> process/thread context; so you need to do your socket TX/RX in
>> different processes/threads to get parallelism in the networking side
>> of things.
>
> Very good point.
>
>> You could fake it somewhat by pushing socket IO into different threads
>> but then you have all the overhead of shuffling IO and completed IO
>> between threads. This may be .. complicated.
>
> The event loop I put together for -3 should be able to do that without
> changing the loop - just extending the modules that hook into it.
>
> -Rob
>

Reply via email to