Exploring
In Design
Planned
Build
Replicated Append-Only KV Log (Raft-Lite)
A small multi-node key-value store in Java 21 implementing deterministic leader election, term monotonic logs, and write-ahead WAL replay over local sockets.
Intended Functionality
- Durable write-ahead log (WAL) segments with CRC32 record checksums and startup replay
- Simulated packet drop, delay, and split-vote partitions inside deterministic unit tests
- Compact snapshot truncation once committed log entries pass configurable thresholds
First Milestone & Development Goals
Single-node CRC-checked WAL writer/reader plus crash-recovery test harness.
- · Practise distributed consensus invariants without external frameworks
- · Pair explicit state machines (building on spring-workflow-api) with binary log storage
Java 21 · NIO Channels · JUnit 5 · Maven