Skip to content

LoomCache Documentation

Blisteringly fast, deeply resilient, and strictly linearizable. Built on Java Virtual Threads.

LoomCache implements the Raft consensus algo directly over a custom binary protocol.

Raft Consensus Flow

Waiting for client request...

Client
Leader Node
WAL Term
Follower 1
Follower 2

Virtual Thread Optimized

Millions of concurrent connections natively mapped to Java 25 Virtual Threads. Zero blocking, maximum throughput.

Strict Linearizability

Raft consensus with pre-vote, leader leases, and WAL persistence ensures your data is never torn or lost.

7 Data Structures

Map, Queue, Set, SortedSet, Topic, Lock, and AtomicCounter — all linearizable and replicated.

Zero Dependencies

No Netty. No external cache libraries. Pure Java with 101 binary protocol message types.