3 ms·
For processes on the same machine, an IPC mechanism like domain sockets or shared memory would surely be faster. Why are you sure that these would be faster th
by nkurz 14y ago
For processes on the same machine, an IPC mechanism like domain sockets or shared memory would surely be faster.
Why are you sure that these would be faster than reading and writing a file?
There is a key truth to be mindful of while doing optimization work: programmers are, as a rule, terrible at anticipating at the cause of slowness in their application. This is counterintuitive but almost always true.