Tag

Multithreaded I/O

1 views collected around this technical thread.

Sanyou's Java Diary
Sanyou's Java Diary
Jun 16, 2025 · Databases

Unlocking Redis 6.0 Multithreaded I/O: How It Works and Boosts Performance

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.

DatabaseMultithreaded I/ORedis
0 likes · 22 min read
Unlocking Redis 6.0 Multithreaded I/O: How It Works and Boosts Performance
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.

DatabaseEvent LoopLazy Free
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 FreeMemory ManagementMultithreaded I/O
0 likes · 16 min read
Redis Lazy Free and Multi‑Threaded I/O: Architecture, Mechanisms, and Limitations
Top Architect
Top Architect
Mar 23, 2021 · Databases

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

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.

Lazy FreeMemory ManagementMultithreaded I/O
0 likes · 16 min read
Redis Lazy Free and Multi‑Threaded I/O: Architecture, Implementation, and Limitations
Selected Java Interview Questions
Selected Java Interview Questions
Mar 8, 2021 · Databases

Understanding Redis Lazy Free and Multi‑Threaded I/O: Architecture and Implementation

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.

Event LoopLazy FreeMemory Management
0 likes · 16 min read
Understanding Redis Lazy Free and Multi‑Threaded I/O: Architecture and Implementation
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.

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