Re: [PATCH] immortal helpers

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Mon, 22 Feb 2010 14:10:42 +1300

On Mon, 22 Feb 2010 02:03:31 +0100, Henrik Nordström
<henrik_at_henriknordstrom.net> wrote:
> mån 2010-02-22 klockan 11:44 +1100 skrev Robert Collins:
>
>> command protocol for it would be pretty similar to the SHM disk IO
>> helper, but for processes. Something like:
>> squid->helper: spawn stderrfd argv(escaped/encoded to be line & NULLZ
>> string safe)
>> helper->squid: pid, stdinfd, stdoutfd
>
> Which requires UNIX domain sockets for fd passing, and unknown
> implementation on Windows..
>
>> This would permit several interesting things:
>> - starting helpers would no longer need massive VM overhead
>> - we won't need to worry about vfork, at least for a while
>> - starting helpers can be really async from squid core processing (at
>> the moment everything gets synchronised)
>
> Yes.
>
> +1 in general, with the reservation that I want to hear back from Guido
> on what options there may be on Windows platform.

+1 with same reservations.

Amos
Received on Mon Feb 22 2010 - 01:10:46 MST

This archive was generated by hypermail 2.2.0 : Tue Feb 23 2010 - 12:00:09 MST