title: IPC: Ramdisk V.S. socket
body: <p>I need to transfer huge amount of data between Java and C++ programs under Linux(CentOS). Performance is the first concern.
  What will be the best choice? RAMDisk (/dev/shm/) or local socket?</p>