openhft/chronicle-queue — explained in plain English
Analysis updated 2026-05-18
Record millions of trade events per second with microsecond precision in a Java trading system
Build an event log that persists to disk without a separate message broker like Kafka
Pass messages between Java microservices on the same machine in under a microsecond
| openhft/chronicle-queue | apache/tika | helloworld521/java | |
|---|---|---|---|
| Stars | 3,745 | 3,746 | 3,741 |
| Language | Java | Java | Java |
| Setup difficulty | moderate | easy | moderate |
| Complexity | 4/5 | 2/5 | 2/5 |
| Audience | developer | developer | developer |
Figures from each repo's GitHub metadata at analysis time.
Requires Java and Maven, the library itself is straightforward to add as a dependency, but tuning for microsecond latency needs OS-level configuration.
Chronicle Queue is a Java library for storing and reading messages at extremely high speeds. It is designed for financial trading systems, telemetry pipelines, and any application where thousands or millions of events need to be recorded and processed every second with very low delay. Unlike traditional message brokers, Chronicle Queue has no separate server process to deploy: it runs entirely within your Java application and persists everything directly to disk. The core idea is off-heap storage. Most Java messaging systems hold messages in memory managed by the Java runtime, which means the garbage collector occasionally pauses the program to clean up. Chronicle Queue bypasses this by writing to memory-mapped files on disk, which the operating system manages directly. Your program never stops for garbage collection, which is critical when you need consistent microsecond-level response times. Multiple writers can add messages to the same queue, and multiple readers can consume from it concurrently without locking. Readers can also seek to any point in the queue, not just read from the end. Messages can vary in size and type. The library supports appending new messages, tailing (reading in order as they arrive), and random-access seeks. For systems that span multiple machines, Chronicle Queue supports replication across a network with latencies under 10 microseconds for inter-machine message passing. There is a C++ version available as well, and the two versions can exchange messages, allowing mixed Java and C++ applications to share a queue. Chronicle Queue is an enterprise-grade component aimed at Java developers building performance-critical systems, particularly in finance and high-frequency data processing.
Chronicle Queue is a Java library for ultra-fast, broker-less persistent messaging that stores everything to disk using off-heap memory, achieving microsecond latencies without garbage collection pauses.
Mainly Java. The stack also includes Java, Maven, Chronicle-Wire.
Setup difficulty is rated moderate, with roughly 30min to a first successful run.
Mainly developer.
This repo across BitVibe Labs
Verify against the repo before relying on details.