Tag

Reactor Pattern

0 views collected around this technical thread.

Top Architecture Tech Stack
Top Architecture Tech Stack
Jan 9, 2025 · Backend Development

Understanding Netty's Asynchronous Model, IO Multiplexing, and Epoll Implementation

This article explains Netty's powerful asynchronous architecture, compares classic multithread, Reactor, select, poll, and epoll I/O multiplexing models, demonstrates JNI integration for native performance, and provides complete example code for building a high‑performance epoll‑based server in Java.

BackendIO MultiplexingJNI
0 likes · 32 min read
Understanding Netty's Asynchronous Model, IO Multiplexing, and Epoll Implementation
DaTaobao Tech
DaTaobao Tech
Apr 8, 2024 · Backend Development

Netty Core Concepts and Architecture Overview

Netty is a high‑performance network framework whose three‑layer architecture—Core, Protocol Support, and Transport Service—combined with a Reactor‑based logical design, diverse I/O models, advanced memory management, zero‑copy techniques, and optimized data structures, enables efficient custom protocol handling and scalable server development.

I/O modelsMemory ManagementNetty
0 likes · 27 min read
Netty Core Concepts and Architecture Overview
Code Ape Tech Column
Code Ape Tech Column
Feb 17, 2024 · Backend Development

Understanding Netty’s Asynchronous Model, Epoll, and IO Multiplexing: Theory, JNI Integration, and a Hand‑Written Epoll Server

This article explains Netty’s reactor‑based asynchronous architecture, compares classic multithread, select, poll and epoll I/O multiplexing models, demonstrates Java‑C interaction via JNI, and provides a complete hand‑written epoll server implementation with detailed code and performance insights.

C++IO MultiplexingJNI
0 likes · 36 min read
Understanding Netty’s Asynchronous Model, Epoll, and IO Multiplexing: Theory, JNI Integration, and a Hand‑Written Epoll Server
Sanyou's Java Diary
Sanyou's Java Diary
Oct 6, 2023 · Backend Development

Inside Kafka Broker: How Its Network Architecture Handles Millions of Requests

This article deeply dissects Kafka Broker's network architecture and request‑processing pipeline, covering sequential, multithreaded, and event‑driven designs, the Reactor pattern, Acceptor and Processor threads, core request flow, and practical tuning parameters for high‑throughput, low‑latency deployments.

KafkaPerformance TuningReactor Pattern
0 likes · 22 min read
Inside Kafka Broker: How Its Network Architecture Handles Millions of Requests
政采云技术
政采云技术
Sep 12, 2023 · Backend Development

Understanding Netty EventLoop: Architecture, Mechanisms, and Best Practices

This article explains the Netty EventLoop implementation, covering its reactor‑based event loop design, event handling and task processing mechanisms, code examples, common pitfalls such as the JDK epoll bug, and practical recommendations for building high‑performance backend services.

EventLoopJavaNetty
0 likes · 15 min read
Understanding Netty EventLoop: Architecture, Mechanisms, and Best Practices
Sanyou's Java Diary
Sanyou's Java Diary
Jul 17, 2023 · Backend Development

How Kafka’s Broker Handles Millions of Requests: Inside Its Network Architecture

This article deeply analyzes Kafka broker’s network architecture and request‑handling pipeline, walking through simple sequential models, multithreaded async designs, the Reactor pattern with Java NIO, key thread roles, core processing flow, and practical tuning parameters for high‑throughput, low‑latency deployments.

Java NIOKafkaPerformance Tuning
0 likes · 21 min read
How Kafka’s Broker Handles Millions of Requests: Inside Its Network Architecture
vivo Internet Technology
vivo Internet Technology
Mar 15, 2023 · Backend Development

Analysis of Java NIO and Tars Framework Network Programming

The article explains Java NIO’s non‑blocking channels, buffers, and selectors, then shows how the open‑source Tars RPC framework builds a multi‑reactor, multi‑thread network model on top of NIO—detailing server socket setup, event dispatch, session management, and read/write processing.

Java NIONon‑Blocking IOReactor Pattern
0 likes · 18 min read
Analysis of Java NIO and Tars Framework Network Programming
Refining Core Development Skills
Refining Core Development Skills
Jul 18, 2022 · Big Data

Deep Dive into Kafka Broker Network Architecture and Request Processing Flow

This article thoroughly examines Kafka's broker‑side network architecture, tracing its evolution from a simple sequential model to a high‑performance, event‑driven Reactor design using Java NIO, and provides practical tuning guidance for achieving optimal throughput and latency.

Big DataBroker ArchitectureJava NIO
0 likes · 18 min read
Deep Dive into Kafka Broker Network Architecture and Request Processing Flow
Yang Money Pot Technology Team
Yang Money Pot Technology Team
Jul 4, 2022 · Backend Development

Understanding Netty’s Multithreaded Reactor Model and Its Application in an Online Customer Service IM System

This article explains Netty’s multithreaded Reactor architecture, introduces the underlying concepts such as Channel, ChannelPipeline, and EventLoop, shows how threads are allocated to ChannelHandlers, and demonstrates how to customize thread pools for customer‑service and agent‑side logic in an IM system.

EventLoopJavaNetty
0 likes · 21 min read
Understanding Netty’s Multithreaded Reactor Model and Its Application in an Online Customer Service IM System
Wukong Talks Architecture
Wukong Talks Architecture
Jun 25, 2022 · Big Data

Deep Dive into Kafka Broker Network Architecture and Request Processing Flow

This article thoroughly analyzes Kafka broker's high‑throughput network architecture, tracing its evolution from simple sequential handling to a multi‑selector Reactor model, detailing Acceptor and Processor thread implementations, request‑handling pipelines, and practical tuning parameters for optimal performance.

BrokerJava NIOKafka
0 likes · 20 min read
Deep Dive into Kafka Broker Network Architecture and Request Processing Flow
IT Services Circle
IT Services Circle
May 31, 2022 · Fundamentals

Understanding Coroutines, Event Loops, and Asynchronous I/O

This article explains why simple serial file reads are slow, compares multithreaded and event‑loop based approaches, introduces the Reactor pattern and callbacks, and finally shows how coroutines provide a synchronous‑style solution for efficient, non‑blocking I/O processing.

Event LoopReactor Patternasynchronous I/O
0 likes · 12 min read
Understanding Coroutines, Event Loops, and Asynchronous I/O
Refining Core Development Skills
Refining Core Development Skills
Mar 11, 2022 · Databases

Redis Server Startup and Event‑Loop Mechanics: A Detailed Walkthrough

This article explains how Redis initializes, creates a TCP listener, registers file events, runs a single‑threaded reactor loop, accepts client connections, processes commands via a command table, and sends replies, illustrating the core backend architecture of the in‑memory database.

C++Event LoopIO Multiplexing
0 likes · 8 min read
Redis Server Startup and Event‑Loop Mechanics: A Detailed Walkthrough
IT Architects Alliance
IT Architects Alliance
Dec 9, 2021 · Backend Development

Java NIO Network Programming and Netty Architecture Overview

This article provides a comprehensive overview of Java NIO network programming, explaining BIO, NIO, and AIO models, the core components Channel, Buffer, and Selector, and how Netty leverages the Reactor pattern with multi‑threaded boss and worker groups for high‑performance asynchronous I/O.

BackendJavaNIO
0 likes · 15 min read
Java NIO Network Programming and Netty Architecture Overview
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
Refining Core Development Skills
Refining Core Development Skills
Aug 13, 2021 · Backend Development

High‑Performance Network Frameworks: IO Events, IO Multiplexing and the Reactor Pattern

This article explains the fundamentals of IO events and IO multiplexing, compares thread‑based and event‑driven models, details the Reactor pattern variants, and discusses synchronous versus asynchronous IO, providing a practical guide for building high‑performance network frameworks in Linux.

BackendIO MultiplexingLinux
0 likes · 13 min read
High‑Performance Network Frameworks: IO Events, IO Multiplexing and the Reactor Pattern
macrozheng
macrozheng
Jun 3, 2021 · Backend Development

How Redis Starts: Inside the Server’s Event Loop and Reactor Model

This article walks through Redis's startup sequence, explaining how the server creates a listening socket, registers events with the aeFileEvent system, runs a single‑threaded select‑based event loop, and processes client commands using the Reactor pattern, complete with code examples and diagrams.

Event LoopReactor PatternRedis
0 likes · 8 min read
How Redis Starts: Inside the Server’s Event Loop and Reactor Model
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
Tencent Cloud Developer
Tencent Cloud Developer
Feb 22, 2021 · Databases

Deep Dive into Redis Multi-Threaded Network Model: From Single-Threaded Reactor to I/O Threading

The article traces Redis’s shift from its original single‑threaded reactor model to the I/O‑threaded architecture introduced in version 6, explaining how atomic operations and round‑robin client distribution let separate threads handle network I/O and parsing while the main thread executes commands, yielding roughly a two‑fold throughput boost but retaining a single‑threaded command core and incurring brief CPU spikes from busy‑wait synchronization.

Event LoopI/O multiplexingMulti-threading
0 likes · 34 min read
Deep Dive into Redis Multi-Threaded Network Model: From Single-Threaded Reactor to I/O Threading
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