Get the latest tech news

Ultra-low-latency, batching and concurrent queue for IPC in Java


CoralRing is an ultra-low-latency, lock-free, garbage-free, batching and concurrent circular queue (ring) in off-heap shared memory for inter-process communication (IPC) in Java across different J...

CoralRing is an ultra-low-latency, lock-free, garbage-free, batching and concurrent circular queue ( ring) in off-heap shared memory for inter-process communication (IPC) in Java across different JVMs using memory-mapped files. In this new scenario, a lagging consumer that falls behind and loses messages will simply disconnect (give up) instead of causing the producer to block. Although we use a fast hash algorithm ( xxHash) to calculate the checksum, there is a small performance penalty to pay when you choose this approach.

Get the Android app

Or read this on Hacker News

Read more on:

Photo of Java

Java

Photo of latency

latency

Photo of IPC

IPC

Related news:

News photo

Go and Java: Rethinking Type Safety for the Pragmatic Age

News photo

Writing efficient unit tests in Java

News photo

A basic introduction to the classfile API in Java