Re: SMP: inter-process communication

2010-02-23 Thread Alex Rousskov
On 02/23/2010 04:30 AM, Tsantilas Christos wrote: - master process communicates with one direction pipes with kids, sending various commands ... Master/kids communication using pipes is used by the apache worker server. I am also using it in my icap server. I am not seeing any problem. I

Re: SMP: inter-process communication

2010-02-23 Thread Kinkie
So, neither parent/kid pipe nor UDS is ideal. Both are candidates. I lean towards UDS because they make communication between kids or even unrelated processes possible. I am worried about restricting all communications to communication with a parent. I would also lean to UDS, including for

Re: SMP: inter-process communication

2010-02-23 Thread Amos Jeffries
On Tue, 23 Feb 2010 09:45:56 -0700, Alex Rousskov rouss...@measurement-factory.com wrote: On 02/21/2010 06:10 PM, Amos Jeffries wrote: On Mon, 22 Feb 2010 02:03:31 +0100, Henrik Nordström hen...@henriknordstrom.net wrote: mån 2010-02-22 klockan 11:44 +1100 skrev Robert Collins: command

Re: SMP: inter-process communication

2010-02-21 Thread Alex Rousskov
On 02/21/2010 02:45 PM, Henrik Nordström wrote: I guess the main question to ask is interaction between processes. Mainly sharing of cache etc. How do these impact the chosen model? In the longer term model I see that we will have several cooperating processes, for example N processes

Re: SMP: inter-process communication

2010-02-21 Thread Henrik Nordström
sön 2010-02-21 klockan 17:10 -0700 skrev Alex Rousskov: The only inter-process cooperation I plan to support initially is N processes monitoring the same http_port (and doing everything else). I guess there will be no shared cache then? I am working on option (B). While more complex, I think

Re: SMP: inter-process communication

2010-02-21 Thread Amos Jeffries
On Sun, 21 Feb 2010 17:10:34 -0700, Alex Rousskov rouss...@measurement-factory.com wrote: On 02/21/2010 02:45 PM, Henrik Nordström wrote: I guess the main question to ask is interaction between processes. Mainly sharing of cache etc. How do these impact the chosen model? In the longer

Re: SMP: inter-process communication

2010-02-21 Thread Alex Rousskov
On 02/21/2010 06:10 PM, Henrik Nordström wrote: sön 2010-02-21 klockan 17:10 -0700 skrev Alex Rousskov: The only inter-process cooperation I plan to support initially is N processes monitoring the same http_port (and doing everything else). I guess there will be no shared cache then? Not

Re: SMP: inter-process communication

2010-02-21 Thread Robert Collins
On Sun, 2010-02-21 at 20:18 -0700, Alex Rousskov wrote: On 02/21/2010 06:10 PM, Henrik Nordström wrote: sön 2010-02-21 klockan 17:10 -0700 skrev Alex Rousskov: The only inter-process cooperation I plan to support initially is N processes monitoring the same http_port (and doing

Re: SMP: inter-process communication

2010-02-21 Thread Alex Rousskov
On 02/21/2010 08:21 PM, Robert Collins wrote: On Sun, 2010-02-21 at 20:18 -0700, Alex Rousskov wrote: On 02/21/2010 06:10 PM, Henrik Nordström wrote: sön 2010-02-21 klockan 17:10 -0700 skrev Alex Rousskov: The only inter-process cooperation I plan to support initially is N processes