EloqKV: Achieving Predictable P99.99 Latency on NVMe with Redis API
1–6 of 6 posts
Re: EloqKV: Achieving Predictable P99.99 Latency on NVMe with Redis API
#2Key Architectural Choices:
- Custom B-tree Variant: Unlike LSM-trees used in many disk-backed stores, our B-tree variant avoids the "compaction stalls" that typically cause high tail latency during heavy writes.
- Coroutines & io_uring: We leverage io_uring for asynchronous I/O and use coroutines to manage thousands of concurrent I/O requests without the context-switching overhead.
- Object Storage Integration (optional): EloqStore uses object storage as the primary persistent layer, with NVMe acting as a high-speed cache/tier, providing durability without sacrificing speed.
We’ve reached a point where we can provide predictable P99.99 latency even when the working set is primarily on NVMe. We’d love to answer any questions about the storage internals or our benchmarking process.
Re: EloqKV: Achieving Predictable P99.99 Latency on NVMe with Redis API
#3Re: EloqKV: Achieving Predictable P99.99 Latency on NVMe with Redis API
#4Re: EloqKV: Achieving Predictable P99.99 Latency on NVMe with Redis API
#5With DRAM price this high, this is certainly a welcome feature. But how do you control write latency? B+ Tree is pretty bad at updates and LMDB, another BTree based storage is lightning fast on reads but quite bad on writes compared with RocksDB.
[1] github.com/eloqdata/eloqstore
Disclaimer: I am the CEO of EloqData
Re: EloqKV: Achieving Predictable P99.99 Latency on NVMe with Redis API
#6With DRAM price this high, this is certainly a welcome feature. But how do you control write latency? B+ Tree is pretty bad at updates and LMDB, another BTree based storage is lightning fast on reads but quite bad on writes compared with RocksDB.