| Since client messages need to go via the server between the two processes, and
they might be buffered before they go to the server, and a message sent
through a socket goes straight to the target, the socket is likely to be faster.
Add to this the fact that Unix domain sockets are supposedly optimizations of
sockets for local transport and that client messages have a capacity of 20 bytes
each and that they carry an overhead of 12 bytes each, and it looks like
sockets are the way to go.
The down side is that you will have to set up the connection itself and arrange
for a rendezvous at an agreed location, which is a reasonable thing to do with
a client message.
Jeff
|