Tag

Thread model

0 views collected around this technical thread.

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
Cognitive Technology Team
Cognitive Technology Team
Nov 2, 2023 · Backend Development

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

This article explains Netty 4's global multithreaded, locally single‑threaded (event‑loop) design, detailing boss and worker EventLoopGroups, the internal structure of NioEventLoop, channel binding, task queues, pipeline handling, and best practices for avoiding blocking operations, with a RocketMQ example.

EventLoopJavaNetty
0 likes · 4 min read
Understanding Netty 4 Thread Model: Master‑Worker Multithreading and EventLoop Architecture
Cognitive Technology Team
Cognitive Technology Team
Sep 16, 2023 · Backend Development

Understanding Tomcat Embedded Core Thread Model: Acceptor, Poller, and Worker Threads

This article explains Tomcat’s embedded core thread architecture, detailing the roles of Acceptor, Poller, and worker threads, their interaction with TCP connection queues, and how network I/O and large responses are processed, supplemented with code excerpts and diagrams.

Acceptor ThreadPoller ThreadThread model
0 likes · 3 min read
Understanding Tomcat Embedded Core Thread Model: Acceptor, Poller, and Worker Threads
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 DatabaseRedis
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.

Data StructuresRedisStream
0 likes · 35 min read
Redis Internals: Data Structures, Skip Lists, Dictionaries, Streams, and Thread Model
Code Ape Tech Column
Code Ape Tech Column
Feb 7, 2022 · Databases

Redis Interview Q&A: Thread Model, Persistence, High Availability, and Cluster Mechanisms

This article presents a simulated interview that explains Redis's evolution from single‑threaded to optional multithreading, its in‑memory performance advantages, persistence options (AOF, RDB, hybrid), high‑availability architectures, and the consistent‑hashing based slot allocation used by Redis Cluster.

AOFClusterHigh Availability
0 likes · 9 min read
Redis Interview Q&A: Thread Model, Persistence, High Availability, and Cluster Mechanisms
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 modelJavaReactor Pattern
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.

Backend DevelopmentI/O multiplexingNon-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.

Reactor PatternThread modelasynchronous I/O
0 likes · 12 min read
Thread Models and Reactor/Proactor Patterns in Server Architecture
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.

Java NIONettyReactor Pattern
0 likes · 11 min read
Understanding Netty’s Thread Model: Master‑Worker Multi‑Reactor Architecture
Full-Stack Internet Architecture
Full-Stack Internet Architecture
Dec 5, 2020 · Databases

Understanding Redis Thread Model and Event Mechanism

This article explains Redis's event-driven architecture, detailing file and time events, their processing flow, and why Redis 6.0 introduced multithreading to improve network I/O while keeping command execution single‑threaded.

Event LoopFile EventsRedis
0 likes · 8 min read
Understanding Redis Thread Model and Event Mechanism
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.

IndexingThread modelin-memory search
0 likes · 48 min read
Design and Optimization of an In-Memory Search Engine
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.

CATGCJava
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.

BridgeDebuggingJavaScript
0 likes · 14 min read
RND (React Node Desktop): Architecture, Thread Model, JS Runtime, Bridge, Resource Management, and Debugging
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 modelsReactor PatternThread model
0 likes · 10 min read
Understanding Thread Models in High‑Performance Network Programming
Xianyu Technology
Xianyu Technology
Aug 13, 2018 · Backend Development

Reactive Programming Practice in Xianyu: RxJava Refactoring and Performance Evaluation

By refactoring Xianyu’s key features with RxJava 2.0, the team replaced blocking logging, HTTP, RPC, and cache operations with asynchronous streams, cutting response time by half, boosting CPU utilization to 97%, raising throughput about 30%, and demonstrating a unified, core‑size thread‑pool model.

Reactive ProgrammingRxJavaThread model
0 likes · 9 min read
Reactive Programming Practice in Xianyu: RxJava Refactoring and Performance Evaluation
Beike Product & Technology
Beike Product & Technology
Jul 27, 2018 · Backend Development

Understanding Go's CSP Concurrency Model and Scheduler (MPG)

This article explains Go's concurrency foundations, detailing the difference between concurrency and parallelism, the CSP model using goroutines and channels, and the internal M‑P‑G scheduler architecture that balances work across processors and system threads.

CSPGoScheduler
0 likes · 9 min read
Understanding Go's CSP Concurrency Model and Scheduler (MPG)
Xianyu Technology
Xianyu Technology
Jun 9, 2018 · Mobile Development

Flutter Engine Thread Model and Dart Isolate Mechanism

The article explains Flutter’s engine thread model—four embedder‑provided task runners for platform, UI, GPU, and I/O—and how Dart isolates run single‑threaded with message‑based communication, highlighting performance benefits over JavaScript bridges, common threading pitfalls, and strategies for managing engine instances across multiple pages.

Dart isolateFlutterGPU rendering
0 likes · 16 min read
Flutter Engine Thread Model and Dart Isolate Mechanism
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.

NettyThread modelWebSocket
0 likes · 9 min read
Understanding Netty: Principles, Architecture, and Thread Model