Search code examples
javaipcrmimultiprocessing

IPC Suggestion for lots of small data


We are going to implement a multi-process software and we are looking for a proper IPC.

Facts:

  • We are going to use Java (and C if we face something time critical)
  • All the processes are on a single Unix machine.
  • The processes sends each other lots (about 1000) of small (about 4k) data per second.

What IPC tech do you recommend? Web services, RMI, TCP Sockets, Unix Sockets, Pipes, ...?


Solution

  • All the above could do this. 1000/s isn't that much (even for 4 KB)

    I would add Active MQ and ZeroMQ to the list.

    I would use https://github.com/peter-lawrey/Java-Chronicle Why? because I wrote it. ;) You might to try something else.