Fast IPC
Posted Sep 17, 2010 3:09 UTC (Fri) by
cma (subscriber, #49905)
In reply to:
Fast IPC by vomlehn
Parent article:
Fast interprocess messaging
Yep ;)
The problem is that with this kind of IPC "shared-memory" based it would be possible to code a "self-cotained" app that would not depend on a typical shared-memory which Java native code is not possible to implement (i'm not talking of a JNI based solution). Semophores, locks and so on would not be needed here since with this "new IPC model" we would just stick with file/socket io programming making it possible to obtain really awesome inter-process communication latency and throught put using a unique programming semantics, like async-io on top of NIO, epoll, or even libevent/libev.
The trick is that the kernel should be doing all the complex stuff like cache aware, numa etc affinities exposing just what we need, a file descriptor ;)
Regards
(
Log in to post comments)