IPC Mechanism Comparison

Which IPC mechanism provides the highest throughput for transferring large amounts of data between two processes on the same machine?

A

Unix domain sockets: they bypass the network stack entirely

B

Signals: they are delivered directly by the kernel with minimal overhead

C

Pipes: they are optimized for streaming data between processes

D

Shared memory: both processes access the same physical pages with no kernel involvement for each read/write after setup