Tagged articles
Multithreaded I/O
12 articles · Page 1 of 1
This article explains the shift from Redis's traditional single‑threaded model to the multithreaded I/O architecture introduced in Redis 6.0, detailing core design principles, performance benchmarks, Go code simulation, interview questions, and practical tuning tips for high‑concurrency workloads.
GoInterviewMultithreaded I/O
0 likes · 18 min read

This article explains Redis 6.0's multithreaded I/O feature, covering its background, configuration parameters, execution flow, source code analysis, performance benchmarking against single‑threaded mode, identified limitations, and a brief comparison with Valkey 8.0's advanced I/O design.
Multithreaded I/ORedisbenchmark
0 likes · 22 min read

This article explains Redis’s original single‑threaded event‑driven architecture, its performance bottlenecks, and how versions 4.0 and 6.0 introduced Lazy Free and multithreaded I/O mechanisms—including asynchronous key deletion, background freeing, and I/O thread pools—to improve scalability while outlining their implementation details, limitations, and comparisons with Tair.
Database InternalsLazy FreeMultithreaded I/O
0 likes · 15 min read

The article explains how Redis, originally a single‑threaded in‑memory cache, introduces Lazy Free in version 4.0 and multi‑threaded I/O in version 6.0 to mitigate blocking during large key deletions, describes the underlying event‑driven architecture, shows relevant source code, and discusses the benefits and constraints of these mechanisms.
Lazy FreeMultithreaded I/ORedis
0 likes · 16 min read

This article explains how Redis, originally a single‑threaded in‑memory cache, introduced Lazy Free and multi‑threaded I/O to eliminate blocking during large key deletions, improve QPS, and lay the groundwork for future multithreading strategies.
Database PerformanceLazy FreeMultithreaded I/O
0 likes · 16 min read

This article explains how Redis, originally a single‑threaded in‑memory cache, introduced Lazy Free in version 4.0 and multi‑threaded I/O in version 6.0 to mitigate blocking deletions and improve I/O throughput, detailing the underlying event model, code implementations, performance trade‑offs, and comparisons with Tair's threading design.
Database PerformanceLazy FreeMultithreaded I/O
0 likes · 16 min read

This article explains Redis's original single‑threaded event loop, the performance problems it causes, and how Redis 4.0 introduced Lazy Free and Redis 6.0 added multithreaded I/O, comparing the implementation with Tair's more elegant multithreaded design.
ConcurrencyDatabase InternalsLazy Free
0 likes · 16 min read

This article explains Redis's original single‑threaded event model, the performance bottlenecks it creates, and how Redis 4.0 introduced Lazy Free for asynchronous large‑key deletion while Redis 6.0 added multi‑threaded I/O to improve read/write throughput, including implementation details and limitations.
Lazy FreeMultithreaded I/O
0 likes · 17 min read

The article explains how Redis evolves from a single‑threaded in‑memory cache to using Lazy Free and multi‑threaded I/O to alleviate blocking on large key deletions, describing the underlying event model, code implementations, performance trade‑offs, and comparisons with Tair's threading approach.
ConcurrencyDatabase PerformanceLazy Free
0 likes · 16 min read

This article explains how Redis evolves from a single‑threaded event‑driven cache to using Lazy Free for asynchronous key deletion and multi‑threaded I/O for improved performance, detailing the underlying mechanisms, code implementations, limitations, and comparisons with Tair's threading model.
Database PerformanceLazy FreeMultithreaded I/O
0 likes · 16 min read

The article details Redis 6’s new multithreaded I/O feature—motivated by network‑I/O bottlenecks, implemented with lock‑free pending‑read queues that offload reads, writes, and protocol parsing to worker threads while keeping command execution single‑threaded—and demonstrates through a simple benchmark that using four I/O threads roughly doubles GET/SET throughput compared with Redis 5.
C++Multithreaded I/ORedis
0 likes · 11 min read

This article analyzes Redis 6's newly introduced multithreaded I/O feature, explains its design and code implementation, presents benchmark configurations and results that show near‑doubling of GET/SET throughput, and discusses practical considerations and limitations of the approach.
Database PerformanceMultithreaded I/ORedis
0 likes · 10 min read
