Tag

Lazyfree

0 views collected around this technical thread.

Top Architect
Top Architect
Sep 21, 2022 · Databases

Redis Multithreaded I/O and BIO System Evolution: Architecture, Code Analysis, and Lazyfree

This article examines Redis's transition from a single‑threaded reactor to a multi‑threaded I/O model, details the underlying I/O multiplexing and BIO subsystems, and explains the lazyfree mechanism for asynchronous large‑key deletions, providing extensive code analysis and performance insights.

DatabaseI/OLazyfree
0 likes · 44 min read
Redis Multithreaded I/O and BIO System Evolution: Architecture, Code Analysis, and Lazyfree
Architect
Architect
Sep 19, 2022 · Databases

Redis Architecture: From Single‑Threaded Core to Multi‑Threaded I/O and BIO Evolution

This article explains how Redis evolved from a single‑threaded event‑loop architecture using I/O multiplexing and the Reactor pattern to a multi‑threaded I/O model and an enhanced BIO system with lazyfree, detailing design decisions, source‑code excerpts, performance impacts, and practical lessons for developers.

Database ArchitectureI/O multiplexingLazyfree
0 likes · 44 min read
Redis Architecture: From Single‑Threaded Core to Multi‑Threaded I/O and BIO Evolution