Tagged articles

Multithreaded I/O

12 articles · Page 1 of 1
IT Architects Alliance
IT Architects Alliance
Jan 21, 2022 · Databases

How Redis Overcame Single‑Thread Limits with Lazy Free and Multithreaded I/O

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
How Redis Overcame Single‑Thread Limits with Lazy Free and Multithreaded I/O
Top Architect
Top Architect
Dec 26, 2021 · Databases

Understanding Redis Lazy Free and Multi‑Threaded I/O: Architecture, Mechanisms, and Limitations

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/OPerformance
0 likes · 16 min read
Understanding Redis Lazy Free and Multi‑Threaded I/O: Architecture, Mechanisms, and Limitations
Top Architect
Top Architect
Apr 22, 2021 · Databases

Redis Lazy Free and Multi‑Threaded I/O: Architecture, Mechanisms, and Limitations

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.

Lazy FreeMultithreaded I/ORedis
0 likes · 16 min read
Redis Lazy Free and Multi‑Threaded I/O: Architecture, Mechanisms, and Limitations
Programmer DD
Programmer DD
Mar 27, 2021 · Databases

How Redis Evolves: From Single‑Threaded to Lazy Free and Multi‑Threaded I/O

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
How Redis Evolves: From Single‑Threaded to Lazy Free and Multi‑Threaded I/O
Meitu Technology
Meitu Technology
Aug 9, 2019 · Databases

Redis 6 Multithreaded I/O Implementation and Performance Evaluation

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.

BenchmarkC++Multithreaded I/O
0 likes · 11 min read
Redis 6 Multithreaded I/O Implementation and Performance Evaluation