Quote:
|
Originally Posted by tvqpriqphh
Looks like I'm late to the party, but sockets, IMO, are the greatest IPC method since sliced bread.
|
Yeah, assuming you aren't making large transfers via the sockets. The speedup of using SysV IPC (or similar) is huge.
In the benchmarks we did for large files, it would take 60 seconds or so to complete over sockets and about 10-15 seconds over IPC. Latency is lower over IPC as well. That's some empirical evidence for what is theoretically true.
Of course, sockets are more flexible and less prone to error, so it really depends on what you're doing.