Serenely Fast I/O Buffer (With Benchmarks) – SereneDB
2 days ago
- #Concurrent Programming
- #I/O Buffer
- #High-Performance
- Introduces a high-performance concurrent I/O buffer designed for high-load services.
- Features include FIFO order, effectively unlimited size, and support for concurrent writes and reads with SPSC constraints.
- Differentiates between committed, uncommitted, and flushed data to control data visibility and urgency.
- Internally uses a linked list of chunks with exponential growth, optimized with lock-free atomic operations.
- Includes benchmarks showing superior performance compared to alternatives like folly and absl buffers.
- Provides a simple API with methods for writing, committing, and managing contiguous data blocks.