Tagged articles
24 articles
Page 1 of 1
Mike Chen's Internet Architecture
Mike Chen's Internet Architecture
Dec 11, 2025 · Backend Development

Why Redis Delivers Microsecond Latency: Memory‑First, Single‑Threaded, and I/O Multiplexing

Redis achieves sub‑millisecond response times by storing all data in RAM, using a single‑threaded event loop with I/O multiplexing (epoll/select/poll), and employing highly optimized data structures such as skip lists and hash tables that provide O(1) or O(log N) operations.

Data StructuresI/O MultiplexingIn‑memory
0 likes · 4 min read
Why Redis Delivers Microsecond Latency: Memory‑First, Single‑Threaded, and I/O Multiplexing
Lobster Programming
Lobster Programming
Jul 7, 2025 · Databases

Why Does Redis Block? 5 Common Causes and How to Prevent Them

This article explains why Redis, a single‑threaded in‑memory database, can become blocked, covering five common culprits such as blocking commands, big keys, database flushes, synchronous AOF writes, and the SAVE command, and offers guidance on preventing performance stalls.

AOFBlockingRDB
0 likes · 4 min read
Why Does Redis Block? 5 Common Causes and How to Prevent Them
Java Tech Enthusiast
Java Tech Enthusiast
Jan 24, 2025 · Databases

Why Redis Is Fast: Deep Dive into Performance Principles

Redis achieves remarkable speed by storing data entirely in memory, employing a single‑threaded event loop with I/O multiplexing, and using highly optimized in‑memory data structures while balancing durability through efficient persistence mechanisms, all of which combine to minimize latency and maximize throughput.

Data StructuresI/O MultiplexingIn-Memory
0 likes · 6 min read
Why Redis Is Fast: Deep Dive into Performance Principles
Mike Chen's Internet Architecture
Mike Chen's Internet Architecture
Nov 11, 2024 · Databases

Is Redis Single‑Threaded? Uncover Its Core Architecture and Multi‑Threading Features

Redis primarily operates with a single thread using I/O multiplexing (select, poll, epoll) to handle massive concurrent connections, while newer versions introduce optional multi‑threaded networking and use child processes for persistence, maintaining its core single‑threaded design for data processing.

Database ArchitectureI/O MultiplexingSingle‑threaded
0 likes · 5 min read
Is Redis Single‑Threaded? Uncover Its Core Architecture and Multi‑Threading Features
IT Architects Alliance
IT Architects Alliance
Jul 11, 2024 · Databases

Why Redis Is So Fast: Single‑Threaded Design, Multi‑Threaded I/O, and Performance Characteristics

This article explains how Redis achieves extremely high throughput—over 800 k QPS for simple commands and up to 1 M QPS with pipelining—through its C implementation, in‑memory data store, single‑threaded event loop, I/O multiplexing, and optional multithreaded I/O introduced in later versions.

I/O MultiplexingSingle‑threadedmultithreading
0 likes · 16 min read
Why Redis Is So Fast: Single‑Threaded Design, Multi‑Threaded I/O, and Performance Characteristics
Architect
Architect
Jul 7, 2024 · Databases

Why Is Redis So Fast? Inside Its Single‑Threaded and Multithreaded Architecture

This article explains how Redis achieves tens of thousands of QPS on average hardware, breaks down the technical reasons behind its speed—including C implementation, in‑memory design, epoll‑based I/O multiplexing, and a single‑threaded event loop—while also detailing the evolution to multithreaded I/O in later versions.

Database ArchitectureSingle‑threadedevent loop
0 likes · 19 min read
Why Is Redis So Fast? Inside Its Single‑Threaded and Multithreaded Architecture
Java High-Performance Architecture
Java High-Performance Architecture
Oct 21, 2022 · Databases

What Makes Redis So Fast? Inside Its Data Structures and Single‑Threaded Design

Redis achieves remarkable speed by operating as an in‑memory database, leveraging specialized data structures like SDS, linked lists, hash tables, skip lists, and ziplists, while using a single‑threaded event loop with I/O multiplexing, incremental rehashing, and optimized memory management to minimize latency.

I/O MultiplexingIn-Memory DatabaseSingle‑threaded
0 likes · 19 min read
What Makes Redis So Fast? Inside Its Data Structures and Single‑Threaded Design
Architect
Architect
Oct 10, 2022 · Databases

Why Redis Is Fast: In‑Memory Storage, Specialized Data Structures, Single‑Threaded Design, and I/O Multiplexing

This article explains why Redis delivers high query speed by leveraging its in‑memory architecture, custom data structures such as SDS, linked lists, hash tables, skip‑lists, and intsets, a single‑threaded execution model combined with efficient I/O multiplexing, and recent multithreaded I/O enhancements.

Data StructuresI/O MultiplexingIn-Memory Database
0 likes · 18 min read
Why Redis Is Fast: In‑Memory Storage, Specialized Data Structures, Single‑Threaded Design, and I/O Multiplexing
JavaEdge
JavaEdge
Aug 28, 2022 · Databases

Why Serializability Matters: Single‑Threaded Transactions and Stored Procedures

The article explains how RC and snapshot isolation fail to prevent write skew and phantom reads, advocates serializable isolation, and examines three implementation techniques—strict serial execution, two‑phase locking, and optimistic concurrency—detailing their trade‑offs, stored‑procedure usage, partitioning, and practical constraints for achieving true serializable isolation.

PartitioningSingle‑threadedStored Procedures
0 likes · 11 min read
Why Serializability Matters: Single‑Threaded Transactions and Stored Procedures
IT Architects Alliance
IT Architects Alliance
Aug 10, 2022 · Databases

Why Redis Is Fast: In‑Memory Storage, Specialized Data Structures, Single‑Threaded Model, and I/O Multiplexing

Redis achieves high performance by storing all data in memory, using compact data structures such as SDS, ziplist and skiplist, running a single‑threaded event loop with lock‑free execution, and employing efficient I/O multiplexing and incremental rehash techniques to minimize latency and maximize throughput.

I/O MultiplexingIn-Memory DatabaseSingle‑threaded
0 likes · 17 min read
Why Redis Is Fast: In‑Memory Storage, Specialized Data Structures, Single‑Threaded Model, and I/O Multiplexing
ITPUB
ITPUB
Jun 7, 2022 · Backend Development

How Redis Achieves High Performance with a Single‑Threaded Event Loop

This article explains how Redis uses Linux epoll and a single‑threaded event‑driven architecture to handle tens of thousands of connections efficiently, detailing the initialization of the server, the event‑loop mechanics, and the processing of client commands from accept to reply.

Network programmingSingle‑threadedepoll
0 likes · 22 min read
How Redis Achieves High Performance with a Single‑Threaded Event Loop
Top Architect
Top Architect
Mar 5, 2022 · Databases

Understanding Redis’s Single‑Threaded Model and File Event Handler (FEH)

The article explains how Redis implements a high‑performance single‑threaded architecture by using a Reactor‑style file‑event handler (FEH) built on I/O multiplexing, detailing socket events, the I/O multiplexing program, dispatcher, handler mapping, and the overall client‑server communication flow.

Event-drivenI/O MultiplexingSingle‑threaded
0 likes · 9 min read
Understanding Redis’s Single‑Threaded Model and File Event Handler (FEH)
IT Architects Alliance
IT Architects Alliance
Jan 28, 2022 · Databases

Why Is Redis So Fast? A Deep Dive into Its Data Structures and Architecture

This article explains why Redis achieves high query performance by leveraging in‑memory storage, specialized data structures such as SDS, linked lists, dictionaries, ziplists and skiplists, a single‑threaded event loop with I/O multiplexing, and various optimization techniques that avoid common bottlenecks.

Data StructuresI/O MultiplexingIn-Memory Database
0 likes · 18 min read
Why Is Redis So Fast? A Deep Dive into Its Data Structures and Architecture
Full-Stack Internet Architecture
Full-Stack Internet Architecture
Apr 27, 2021 · Databases

Why Redis Is Fast: Core Principles and Internal Data Structures

This article explains why Redis achieves extremely high performance by leveraging pure in‑memory operations, a global O(1) hash table, efficient data structures such as SDS, ziplist, quicklist and skiplist, a single‑threaded event loop with non‑blocking I/O multiplexing, and adaptive encoding strategies.

Data StructuresIn-MemorySingle‑threaded
0 likes · 20 min read
Why Redis Is Fast: Core Principles and Internal Data Structures
Wukong Talks Architecture
Wukong Talks Architecture
Mar 22, 2021 · Databases

The Secrets Behind Redis’s Speed: Architecture, Data Structures, and Single‑Threaded Model

This article explains why Redis is exceptionally fast by detailing its in‑memory design, global hash table with O(1) lookups, incremental rehashing, specialized data structures such as SDS, ziplist, quicklist, skiplist and intset, as well as its single‑threaded event loop and epoll‑based I/O multiplexing.

I/O MultiplexingIn-Memory DatabaseSingle‑threaded
0 likes · 19 min read
The Secrets Behind Redis’s Speed: Architecture, Data Structures, and Single‑Threaded Model
Architecture Digest
Architecture Digest
Oct 24, 2020 · Databases

Why Redis Is So Fast: Single‑Threaded Architecture and Performance Optimizations

Redis achieves exceptionally high performance despite its single‑threaded request handling by leveraging pure in‑memory operations, I/O multiplexing, non‑CPU‑intensive tasks, and specific single‑threaded advantages, while also incorporating multithreaded optimizations such as lazy‑free mechanisms and protocol parsing in newer versions.

IO MultiplexingIn-MemorySingle‑threaded
0 likes · 8 min read
Why Redis Is So Fast: Single‑Threaded Architecture and Performance Optimizations
Programmer DD
Programmer DD
Aug 15, 2019 · Databases

Why Is Redis So Fast? Uncover the Secrets Behind Its Performance

Redis achieves exceptional speed by combining a C‑based implementation, pure in‑memory data storage, a single‑threaded event loop, and non‑blocking epoll I/O multiplexing, while supporting rich data structures and advanced features such as transactions, Lua scripting, and clustering.

I/O MultiplexingIn-MemorySingle‑threaded
0 likes · 6 min read
Why Is Redis So Fast? Uncover the Secrets Behind Its Performance
Java Backend Technology
Java Backend Technology
Mar 7, 2018 · Databases

Why Is Redis So Fast? Secrets of Its Speed and Single-Threaded Design

This article explains what Redis is, outlines its common data structures and persistence options, and delves into why Redis achieves exceptionally high performance through in‑memory storage, a single‑threaded event loop, multiplexed I/O, and simple data models, providing interview‑ready insights.

In-Memory DatabaseSingle‑threadedredis
0 likes · 9 min read
Why Is Redis So Fast? Secrets of Its Speed and Single-Threaded Design