Skip to content
G_Arthur_

G_Arthur_

Notes and cheat sheets about databases, Linux, the JVM, DevOps — and whatever else comes my way.

Latest posts

blog/disruptor-ringbuffer.md

2 min read

Java LMAX Disruptor. Part 1: Preallocated RingBuffer

A regular queue allocates a new object for every message and puts pressure on the GC. We look at how the LMAX Disruptor preallocates the entire RingBuffer and reuses event objects, taking allocations out of the producer's hot path.

All posts →