L-36 is a high-performance, in-memory data store with native versioning support, specifically engineered for extreme write-heavy workloads and real-time diffing.
Tested on Ubuntu Latest (GitHub Actions) with 2 vCPUs:
| Metric | Throughput | Latency (avg) |
|---|---|---|
| Page Creation (Baseline) | 18,600+ RPS | ~54µs |
| Heavy Lifecycle (with Diffs) | 11,500+ RPS | ~90µs |
Note: L-36 is a compute-bound engine. Performance scales linearly with CPU core count. On a 16-core machine, expected throughput exceeds 80,000+ RPS.
L-36's battleship-grade performance is built on four architectural pillars:
- 36-Way Horizontal Sharding: Data is distributed across 36 independent shards. This eliminates global mutex contention, allowing massive parallel access on multi-core systems.
- Reverse Delta Storage: We store the latest version in full and a chain of backward patches (Diffs). This provides O(1) access to current data while minimizing RAM footprint.
- Advanced Diff Engine: Powered by optimized Google DMP (Diff-Match-Patch) with row-level pre-processing and custom memoization.
- Parallel Persistence: Each of the 36 shards flushes to its own independent JSON file. This "36-Safe" approach ensures asynchronous, non-blocking I/O operations.
Clone the repository
git clone https://github.com/DenQ/L36.gitInstall dependencies
make installRun the engine
make runDistributed under the MIT License. See LICENSE for more information.
Copyright (c) 2026 Denis Ivanov