Tagged articles
33 articles
Page 1 of 1
Architect Chen
Architect Chen
Apr 23, 2026 · Databases

How Redis Handles 1 Million Concurrent Connections: 4 Key Techniques

Redis achieves million‑level concurrency by keeping all data in RAM, using epoll/kqueue for non‑blocking I/O, employing highly optimized data structures with O(1) or O(log N) operations, and evolving from a single‑threaded core to optional multi‑threaded I/O, boosting throughput up to 12×.

Data StructuresI/O MultiplexingIn-Memory
0 likes · 4 min read
How Redis Handles 1 Million Concurrent Connections: 4 Key Techniques
Cognitive Technology Team
Cognitive Technology Team
Apr 11, 2025 · Backend Development

Understanding Netty 4 Thread Model: Master‑Worker Multithreading and EventLoop Design

Netty 4 employs a global multithreaded, locally single‑threaded (event‑loop) architecture where a boss thread pool accepts connections and delegates them to worker thread pools, each containing NioEventLoop instances with selectors, task queues, and pipelines, ensuring lock‑free, ordered processing while avoiding thread blocking.

EventLoopJavaNetty
0 likes · 5 min read
Understanding Netty 4 Thread Model: Master‑Worker Multithreading and EventLoop Design
Programmer DD
Programmer DD
Jun 25, 2023 · Databases

Process vs Thread Model in PostgreSQL: Benefits, Drawbacks, and Future Proposal

The article examines PostgreSQL's traditional process‑oriented architecture, compares it with a proposed thread‑based model, outlines the advantages and disadvantages of each, and discusses community perspectives on transitioning to threads for improved performance and resource efficiency.

Database ArchitecturePostgreSQLProcess Model
0 likes · 6 min read
Process vs Thread Model in PostgreSQL: Benefits, Drawbacks, and Future Proposal
ITPUB
ITPUB
Mar 15, 2023 · Databases

Why Is Redis So Fast? Deep Dive into Its History, Architecture, and Performance

This article explores Redis’s evolution from its 2009 inception, outlines major version releases, examines its in‑memory design, efficient data structures, encoding schemes, single‑threaded event loop with epoll, and benchmark results, illustrating why Redis achieves exceptionally high throughput and low latency in real‑world deployments.

BenchmarkThread Modelencoding
0 likes · 15 min read
Why Is Redis So Fast? Deep Dive into Its History, Architecture, and Performance
JD Tech
JD Tech
Mar 2, 2023 · Databases

Why Redis Is So Fast: History, Architecture, and Performance

This article explains Redis's rapid growth from its 2009 inception, outlines its version history and popularity, and details the architectural choices—memory‑first design, efficient data structures, smart encoding, and a single‑threaded I/O multiplexing model—that together give Redis its exceptional performance.

Data StructuresIn-Memory DatabaseThread Model
0 likes · 13 min read
Why Redis Is So Fast: History, Architecture, and Performance
Youzan Coder
Youzan Coder
Mar 29, 2022 · Databases

Redis Internals: Data Structures, Skip Lists, Dictionaries, Streams, and Thread Model

The article details Redis’s internal architecture, explaining how strings use SDS structures, sorted sets rely on skip‑lists, integers are stored in compact intsets, hash tables employ incremental rehashing, ziplist and listpack provide memory‑efficient encodings, the RAX radix tree underpins key lookup and streams, and the threading model has evolved from a single‑threaded event loop to multithreaded I/O for improved concurrency.

Skip ListStreamThread Model
0 likes · 35 min read
Redis Internals: Data Structures, Skip Lists, Dictionaries, Streams, and Thread Model
Sohu Tech Products
Sohu Tech Products
Dec 8, 2021 · Backend Development

Understanding Redis I/O and Thread Models: From Blocking to Multi‑Reactor Designs

This article explains Redis's high‑performance I/O architecture by tracing the evolution from blocking, non‑blocking, and multiplexed network models to various Reactor‑based thread designs, illustrating each model with Java pseudo‑code and diagrams to clarify why Redis adopts a single‑threaded Reactor with optional multi‑threaded I/O extensions.

IO ModelJavaNetwork programming
0 likes · 19 min read
Understanding Redis I/O and Thread Models: From Blocking to Multi‑Reactor Designs
vivo Internet Technology
vivo Internet Technology
Nov 24, 2021 · Databases

Redis I/O Model and Thread Model Deep Dive

The article thoroughly examines Redis’s high‑performance architecture, detailing the evolution from blocking to non‑blocking I/O, the Reactor pattern’s single‑ and multi‑reactor models, Redis’s I/O multiplexing thread design, and how its hybrid single‑thread core with auxiliary I/O threads mitigates bottlenecks under heavy traffic.

I/O MultiplexingNetwork programmingNon-blocking I/O
0 likes · 16 min read
Redis I/O Model and Thread Model Deep Dive
Top Architect
Top Architect
Apr 19, 2021 · Backend Development

Thread Models and Reactor/Proactor Patterns in Server Architecture

This article explains server thread models—including traditional blocking I/O, the Reactor pattern with its single‑thread, multi‑thread, and master‑slave variants, and the asynchronous Proactor model—detailing their mechanisms, advantages, disadvantages, and typical use cases in backend development.

Network programmingReactor PatternThread Model
0 likes · 12 min read
Thread Models and Reactor/Proactor Patterns in Server Architecture
Programmer DD
Programmer DD
Apr 11, 2021 · Backend Development

Understanding Server Thread Models: Blocking I/O, Reactor, and Proactor

This article explains how servers handle requests using process/thread models, covering traditional blocking I/O, the Reactor pattern with its single‑thread, multi‑thread, and master‑slave variants, and the Proactor model, while comparing their advantages, drawbacks, and typical use cases.

ProactorReactor PatternThread Model
0 likes · 12 min read
Understanding Server Thread Models: Blocking I/O, Reactor, and Proactor
Programmer DD
Programmer DD
Mar 16, 2021 · Backend Development

Understanding Netty’s Thread Model: Reactor Patterns and Performance Optimizations

This article explains Netty’s high‑performance asynchronous NIO architecture, introduces the Reactor pattern and its three thread‑model variants, and details Netty’s core components such as Selector, EventLoopGroup, ChannelPipeline, and ByteBuf, highlighting how they improve scalability and efficiency.

Java NIONettyReactor Pattern
0 likes · 11 min read
Understanding Netty’s Thread Model: Reactor Patterns and Performance Optimizations
Sohu Tech Products
Sohu Tech Products
Jan 28, 2021 · Backend Development

Understanding Netty’s Thread Model: Master‑Worker Multi‑Reactor Architecture

This article explains Netty’s core architecture and its master‑worker multi‑reactor thread model, detailing the roles of Acceptor, Main Reactor, and Sub Reactor, how connection handling, I/O, encoding/decoding, and business logic are coordinated across threads, and provides practical insights for interview preparation.

Backend DevelopmentJava NIOReactor Pattern
0 likes · 11 min read
Understanding Netty’s Thread Model: Master‑Worker Multi‑Reactor Architecture
ITPUB
ITPUB
Dec 7, 2020 · Databases

Why Redis Is So Fast: Inside Its Memory Design and Data Structures

This article explains how Redis achieves high performance by using an in‑memory architecture, specialized data structures such as SDS, doubly linked lists, ziplists and skip‑lists, efficient encoding strategies, and a single‑threaded I/O multiplexing model that eliminates costly context switches.

BackendData StructuresIn-Memory Database
0 likes · 12 min read
Why Redis Is So Fast: Inside Its Memory Design and Data Structures
DataFunTalk
DataFunTalk
Nov 8, 2020 · Backend Development

Design and Optimization of an In-Memory Search Engine

This article shares the author's exploration of in‑memory search engine design, covering system understanding, core architecture, thread and task models, intersection algorithms, lookup optimizations, and componentization, aiming to fill the scarce documentation on memory‑based retrieval engines.

Query ProcessingThread Modelin-memory search
0 likes · 48 min read
Design and Optimization of an In-Memory Search Engine
JavaEdge
JavaEdge
Oct 30, 2020 · Backend Development

How Netty’s EventLoop Thread Model Powers High‑Performance Networking

This article explains Netty's thread model, covering the evolution from simple Thread usage to Executor‑based pools, the design of the EventLoop interface, task scheduling mechanisms, differences between Netty 3 and Netty 4, and how thread allocation and ThreadLocal affect performance and scalability.

Backend DevelopmentEventLoopJava
0 likes · 11 min read
How Netty’s EventLoop Thread Model Powers High‑Performance Networking
dbaplus Community
dbaplus Community
May 25, 2020 · Operations

Scaling CAT Monitoring at Ctrip: Thread Model, Client Computation & Memory Tweaks

This article details how Ctrip optimized the CAT monitoring system—covering its large‑scale deployment, thread‑model redesign, offloading calculations to clients, double‑buffered reporting, and string handling improvements—to dramatically cut CPU usage, GC pressure, and memory consumption while handling billions of messages daily.

Distributed SystemsJavaPerformance Optimization
0 likes · 25 min read
Scaling CAT Monitoring at Ctrip: Thread Model, Client Computation & Memory Tweaks
ITFLY8 Architecture Home
ITFLY8 Architecture Home
May 25, 2020 · Databases

Mastering Redis: Expiration Strategies, Memory Management, and Transactions

This guide explores Redis key expiration policies—including active, lazy, and periodic expiration—memory eviction strategies, resource consumption, thread model, and transaction mechanisms, providing practical insights on configuring TTL, optimizing memory usage, and understanding Redis’s single‑threaded architecture for reliable data handling.

ExpirationMemory ManagementThread Model
0 likes · 12 min read
Mastering Redis: Expiration Strategies, Memory Management, and Transactions
Xiaokun's Architecture Exploration Notes
Xiaokun's Architecture Exploration Notes
Apr 24, 2020 · Backend Development

How Netty’s EventLoopGroup and EventLoop Drive Scalable Web Services

This article dissects Netty’s core components—EventLoopGroup, EventLoop, ServerBootstrap, and channel lifecycle—explaining their initialization, thread‑binding mechanisms, handler pipelines, and port‑binding process with detailed code excerpts and diagrams to reveal how the framework achieves scalable, reactor‑based networking.

Channel pipelineEventLoopJava networking
0 likes · 21 min read
How Netty’s EventLoopGroup and EventLoop Drive Scalable Web Services
Ctrip Technology
Ctrip Technology
Mar 19, 2020 · Backend Development

Performance Optimization Practices for Ctrip's CAT Monitoring System

This article details Ctrip's implementation and performance optimization of the CAT application monitoring system, covering its deployment, thread‑model redesign, client‑side computation offloading, double‑buffered reporting, and string handling improvements that reduced CPU usage and GC pressure.

CATJavaPerformance Optimization
0 likes · 23 min read
Performance Optimization Practices for Ctrip's CAT Monitoring System
iQIYI Technical Product Team
iQIYI Technical Product Team
Aug 16, 2019 · Frontend Development

RND (React Node Desktop): Architecture, Thread Model, JS Runtime, Bridge, Resource Management, and Debugging

RND (React Node Desktop) is a lightweight cross‑platform desktop framework that merges a React‑based JavaScript layer, an embedded V8‑powered Node runtime, and a native UI engine (Lyra with Yoga layout), employing a dual‑thread model, shared V8 isolate, asynchronous bridge, modular resource handling with hot‑update, and integrated Chrome/VSCode/Electron debugging.

JavaScriptRNDReact Node Desktop
0 likes · 14 min read
RND (React Node Desktop): Architecture, Thread Model, JS Runtime, Bridge, Resource Management, and Debugging
Big Data Technology & Architecture
Big Data Technology & Architecture
Jul 20, 2019 · Databases

Understanding Redis: Purpose, Usage, Caching Benefits, Differences with Memcached, and Thread Model

This article explains what Redis is, how it is used for caching in projects, the performance and concurrency advantages of caching, common cache pitfalls, key differences between Redis and Memcached, and the internal single‑threaded event‑driven architecture that enables high‑throughput operations.

In-Memory DatabaseMemcachedThread Model
0 likes · 11 min read
Understanding Redis: Purpose, Usage, Caching Benefits, Differences with Memcached, and Thread Model
Architects' Tech Alliance
Architects' Tech Alliance
Jul 16, 2019 · Backend Development

Understanding Thread Models in High‑Performance Network Programming

This article explains how servers manage connections using different I/O and thread models—including traditional blocking I/O, the Reactor pattern with its single‑thread, multi‑thread, and master‑slave variants, and the Proactor model—highlighting their advantages, drawbacks, and typical use cases in backend development.

I/O ModelsNetwork programmingReactor Pattern
0 likes · 10 min read
Understanding Thread Models in High‑Performance Network Programming
MaGe Linux Operations
MaGe Linux Operations
Jan 5, 2018 · Backend Development

Mastering Server I/O: From Single‑Thread Blocking to Multi‑Threaded Reactor Patterns

This article explores server I/O models—including single‑thread blocking, multi‑thread blocking, single‑thread non‑blocking, and multi‑thread non‑blocking (Reactor) approaches—detailing their mechanisms, advantages, drawbacks, and how kernel‑level event detection improves performance, helping developers choose the right model for various scenarios.

Backend DevelopmentNon-blocking I/OReactor Pattern
0 likes · 16 min read
Mastering Server I/O: From Single‑Thread Blocking to Multi‑Threaded Reactor Patterns
Hujiang Technology
Hujiang Technology
Sep 27, 2017 · Backend Development

Understanding Netty: Principles, Architecture, and Thread Model

This article introduces Netty, an asynchronous event‑driven network framework, covering its design goals, performance benefits, core components such as zero‑copy and unified APIs, advanced features like SSL/TLS and WebSocket support, and explains its single‑thread, multi‑thread, and master‑slave thread models for high‑concurrency backend development.

Backend DevelopmentEvent-drivenNetty
0 likes · 9 min read
Understanding Netty: Principles, Architecture, and Thread Model