Subj : Re: IPC message-queues: msgrcv() vs pipes/sockets? ACE? To : comp.programming.threads From : Ian Date : Sun Jul 24 2005 10:23 am Matt wrote: > I want to implement a complex, multi-process (and multiple threads per > process) network server system. I suspect that socket- or pipe-based > inter-process communication (IPC) will incur too much overhead. > > Will the following message-queuing mechanisms (via the msg*() > functions) support the same capability (as sockets or pipes) with less > overhead (ie, make the overall system go faster)? > > http://www.opengroup.org/onlinepubs/007908799/xsh/ipc.html > > Any other suggestions/alternatives? > Try it. Go with a simple solution based on sockets or pipes, then if it proves too slow, look at a shared memory based solution. If you don't have to be cross platform, see if there is a native IPC layer you can use. Ian .