Java

10 articles

Articles tagged with "Java"

Explore our collection of 10 articles about java.

Sharded Processing: Per-Core Isolation for Zero Contention

Sharded Processing: Per-Core Isolation for Zero Contention

Eliminate contention entirely with per-CPU-core sharded buffers, thread affinity, and isolated processing lanes for maximum parallelism.

JavaOff-Heap+6
Arthur Costa50 min read
Wait-Free Telemetry: Never-Blocking Observability

Wait-Free Telemetry: Never-Blocking Observability

Build wait-free telemetry buffers that never block producers, with overwrite semantics for high-frequency trading observability that doesn't impact system performance.

JavaOff-Heap+6
Arthur Costa50 min read
Wait-Free SPSC Queues in Java

Wait-Free SPSC Queues in Java

How to replace synchronized queue handshakes with a wait-free Single-Producer Single-Consumer ring buffer that uses precise memory ordering instead of locks.

JavaOff-Heap+5
Arthur Costa18 min read
Event Pipelines in Java: The LMAX Disruptor Pattern

Event Pipelines in Java: The LMAX Disruptor Pattern

How to chain SPSC queues into a high-throughput event pipeline, following the LMAX Disruptor pattern for multi-stage processing with sub-microsecond latency.

JavaOff-Heap+5
Arthur Costa18 min read
MPMC Queues in Java: The Final Boss

MPMC Queues in Java: The Final Boss

How to build a dual-CAS Multi-Producer Multi-Consumer ring buffer in Java that scales on both ends without collapsing under lock contention.

JavaOff-Heap+5
Arthur Costa18 min read
Lock-Free MPSC Queues in Java

Lock-Free MPSC Queues in Java

How to replace locked many-producer queues with a lock-free Multi-Producer Single-Consumer ring buffer coordinated entirely by CAS and sequence numbers.

JavaOff-Heap+6
Arthur Costa18 min read
Off-Heap Algorithms in Java: The Ring Buffer Foundation

Off-Heap Algorithms in Java: The Ring Buffer Foundation

From a naive heap-based queue to an off-heap ring buffer with dramatically better throughput, tail latency, and GC behavior for high-frequency trading workloads.

JavaOff-Heap+5
Arthur Costa20 min read
The Actor Model on the JVM: Part 3 - The Final Chapter

The Actor Model on the JVM: Part 3 - The Final Chapter

Complete implementation guide to the Actor Model with advanced patterns, testing strategies, and real-world lessons learned from building scalable concurrent systems.

Actor ModelAkka+6
Arthur Costa11 min read
The Actor Model on the JVM: Part 2 - The Pitfalls of Shared State

The Actor Model on the JVM: Part 2 - The Pitfalls of Shared State

Deep dive into the specific problems that arise when dealing with shared mutable state in multithreaded environments and why traditional synchronization approaches fall short.

JavaConcurrency+4
Arthur Costa20 min read
The Actor Model on the JVM: Part 1 - OOP and the Rise of Concurrency Challenges

The Actor Model on the JVM: Part 1 - OOP and the Rise of Concurrency Challenges

Explore the evolution of Object-Oriented Programming and its challenges in concurrent programming, setting the stage for understanding the Actor Model as a solution.

Actor ModelJava+6
Arthur Costa23 min read

Related Tags