Unix domain socket is also known as IPC socket.
Requirement — Large volume data sharing across jvm and other unix processes.
- sockets are well supported in java, c, perl, python but still requires copying lots of data. I think only the unix domain socket is relevant here, not inet sockets.
- named pipes are less popular than UDS and comparable in speed. On some systems, these two are probably the same thing underneath, but usually there are differences. See https://stackoverflow.com/questions/9475442/unix-domain-socket-vs-named-pipes
- memory mapped files as a RandomAccessFile and MappedByteBuffer? Pure java solution — No JNI needed. I feel not so “popular”. c# and c++ also support it.