View Single Post
Old 05-10-2006, 07:06 AM   #7 (permalink)
AssKoala
Anti-Zealot
 
AssKoala's Avatar
 
Join Date: Feb 2006
Location: Atlanta, GA
Posts: 72
AssKoala is on a distinguished road
Send a message via AIM to AssKoala Send a message via MSN to AssKoala Send a message via Yahoo to AssKoala
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.
__________________
If you always think like an expert, you'll always be a beginner. | "A handful of knowledgeable people is more effective than an army of fools" -Writing Secure Code, 2nd Ed.
AssKoala is offline   Reply With Quote