IPC Suggestion for lots of small data [closed]

匿名 (未验证) 提交于 2019-12-03 09:06:55

问题:

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, ...?

回答1:

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.



标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!