2 ms·
Maybe in that case you should use a single thread and avoid ipc altogether?
by ma2rten 11y ago
Maybe in that case you should use a single thread and avoid ipc altogether?
- kasey_junk 11y agoFor sure if you can avoid it. But sometimes you can't. In those cases you need inter-thread communication to be as fast as possible. A reason inter-process communication is interesting, especially in java, is that there is a reasonably common pattern of isolating low latency code in 1 JVM and less sensitive code in another to prevent system wide pauses from bleeding across. This can be super painful for development iteration though so one thing that is interesting about this library is that it seems to make that configuration time concern.
- vitalyd 11y agoIt may also be beneficial to move some processing to a different core (perhaps even different socket) to avoid execution resource contention (e.g. d/i-cache, execution ports, etc).