Tagged articles

Netty

352 articles · Page 4 of 4
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
Architecture Digest
Architecture Digest
Apr 18, 2020 · Backend Development

Understanding Zero-Copy in Java: Concepts, Implementations, and Netty

This article explains the fundamentals of zero‑copy I/O, covering buffer and virtual memory concepts, Java NIO mechanisms such as MappedByteBuffer and DirectByteBuffer, channel‑to‑channel transfers, and how Netty implements zero‑copy with composite buffers, providing code examples and diagrams for each technique.

NIONettyjava
0 likes · 14 min read
Understanding Zero-Copy in Java: Concepts, Implementations, and Netty
Xiaokun's Architecture Exploration Notes
Xiaokun's Architecture Exploration Notes
Apr 16, 2020 · Backend Development

Unlock Netty’s Core: Deep Dive into ServerBootstrap, EventLoop, and ByteBuf

This article provides a comprehensive walkthrough of Netty’s core components—including ServerBootstrap, EventLoop, Channel, ChannelFuture, ChannelHandler, and ByteBuf—illustrated with a simple server example, code snippets, diagrams, and detailed explanations of threading, zero‑copy, and pipeline processing.

ByteBufEventLoopNetty
0 likes · 30 min read
Unlock Netty’s Core: Deep Dive into ServerBootstrap, EventLoop, and ByteBuf
Java Captain
Java Captain
Apr 7, 2020 · Backend Development

Zero‑Copy Techniques in Java: I/O Concepts, mmap, Sendfile, and Netty

This article explains the zero‑copy principle, describes core I/O concepts such as buffers and virtual memory, and details Java implementations including mmap + write, Sendfile, MappedByteBuffer, DirectByteBuffer, channel‑to‑channel transfer, and Netty’s composite buffers for high‑performance data transfer.

NIONettyjava
0 likes · 12 min read
Zero‑Copy Techniques in Java: I/O Concepts, mmap, Sendfile, and Netty
Programmer DD
Programmer DD
Mar 12, 2020 · Backend Development

Understanding Java NIO vs IO: Channels, Buffers, and Performance

This article explains the fundamental differences between Java NIO and traditional IO, introduces channels and buffers, describes NIO's internal mechanisms, provides a complete code example, and compares NIO's workflow with Netty's model for high‑performance backend development.

BuffersChannelsIO
0 likes · 11 min read
Understanding Java NIO vs IO: Channels, Buffers, and Performance
Java Captain
Java Captain
Mar 7, 2020 · Backend Development

Understanding the Netty Server Startup Process

This article explains how Netty initializes and starts a server by detailing the creation of EventLoopGroups, the configuration of ServerBootstrap, the execution of channel(), handler(), childHandler(), and doBind() methods, and the handling of JDK selector bugs, illustrated with code and diagrams.

EventLoopNIONetty
0 likes · 10 min read
Understanding the Netty Server Startup Process
Big Data Technology & Architecture
Big Data Technology & Architecture
Feb 24, 2020 · Backend Development

Netty Overview: Architecture, Features, and Performance

This article provides a comprehensive introduction to Netty, covering its core concepts, architecture, threading model, zero‑copy mechanisms, serialization options, comparison with JDK NIO and Tomcat, and practical usage scenarios for building high‑performance asynchronous network applications in Java.

AsynchronousNIONetty
0 likes · 35 min read
Netty Overview: Architecture, Features, and Performance
macrozheng
macrozheng
Jan 9, 2020 · Backend Development

Unlock High‑Performance Networking: Understanding Netty’s Core Architecture

This article explains how Netty, an asynchronous event‑driven framework built on Java NIO, powers high‑throughput RPC systems by detailing its core components, data handling with ByteBuf, and practical client‑server examples, offering developers a clear roadmap for building efficient distributed services.

AsynchronousBootstrapByteBuf
0 likes · 17 min read
Unlock High‑Performance Networking: Understanding Netty’s Core Architecture
dbaplus Community
dbaplus Community
Dec 10, 2019 · Databases

Unveiling Sharding-Proxy: Transparent Database Sharding in Apache ShardingSphere

This talk walks through Sharding-Proxy’s role within Apache ShardingSphere, detailing its architecture, SQL lifecycle from protocol decoding to routing, rewriting, execution, and result merging, while highlighting core principles, performance bottlenecks, and practical optimization techniques for high‑throughput, low‑latency database proxying.

NettySQL RoutingSharding-Proxy
0 likes · 17 min read
Unveiling Sharding-Proxy: Transparent Database Sharding in Apache ShardingSphere
Tech Musings
Tech Musings
Oct 20, 2019 · Backend Development

How Netty Supercharges ThreadLocal with FastThreadLocal – Inside the Code

This article dissects Netty's custom FastThreadLocal and FastThreadLocalThread implementations, showing how they replace JDK ThreadLocal with constant‑time indexed access, padding to avoid false sharing, and customizable initialization and cleanup to boost backend concurrency performance.

FastThreadLocalNettyThreadLocal
0 likes · 16 min read
How Netty Supercharges ThreadLocal with FastThreadLocal – Inside the Code
Big Data Technology & Architecture
Big Data Technology & Architecture
Sep 13, 2019 · Backend Development

Comprehensive Java Interview Topics: Language Basics, Collections, Concurrency, JVM, Design Patterns, MySQL, and Netty

This article compiles essential Java interview questions covering language fundamentals, core APIs, collections, concurrency mechanisms, JVM internals, design patterns, database concepts, and Netty networking, providing a thorough reference for candidates preparing for backend development positions.

Design PatternsInterview PreparationJVM
0 likes · 12 min read
Comprehensive Java Interview Topics: Language Basics, Collections, Concurrency, JVM, Design Patterns, MySQL, and Netty
Java Captain
Java Captain
Sep 3, 2019 · Backend Development

Getting Started with Bitchat: A Netty‑Based Instant Messaging Framework

This guide introduces Bitchat, a Netty‑based IM framework, showing how to start the server and client, use built‑in commands for login, user listing and private messaging, explains its architecture, custom protocol, health‑check mechanisms, and how to handle business logic with asynchronous thread pools.

ClientIMNetty
0 likes · 12 min read
Getting Started with Bitchat: A Netty‑Based Instant Messaging Framework
Java Backend Technology
Java Backend Technology
Aug 19, 2019 · Backend Development

Unlocking Netty’s ByteBuf: How Pooled Off‑Heap Memory Allocation Works

This article demystifies Netty’s ByteBuf pooling mechanism, explaining how off‑heap memory is allocated and managed through PooledByteBufAllocator, detailing the internal structures such as PoolThreadCache, PoolArena, PoolChunk, and Subpage, and providing code examples to illustrate allocation and release processes.

ByteBufNettyjava
0 likes · 10 min read
Unlocking Netty’s ByteBuf: How Pooled Off‑Heap Memory Allocation Works
NetEase Game Operations Platform
NetEase Game Operations Platform
Jun 1, 2019 · Cloud Native

Analyzing the Openflowplugin Handshake Process in Opendaylight

This article provides a detailed walkthrough of the Openflowplugin handshake in Opendaylight, explaining how the TCP server is started, how channels are initialized, how listeners are registered, how the hello exchange and version negotiation are performed, and how the controller finalizes the handshake by requesting features and sending a barrier message to the switch.

HandshakeNettyOpenDaylight
0 likes · 10 min read
Analyzing the Openflowplugin Handshake Process in Opendaylight
JD Tech
JD Tech
Mar 22, 2019 · Backend Development

EasyRPC Framework Overview: Architecture, Server Publishing, and Client Invocation

This article introduces the EasyRPC framework, explaining its RPC fundamentals, the use of Netty for communication, Spring for configuration, dynamic proxy for transparent calls, Protostuff for message serialization, and details both server-side service publishing and client-side invocation with reconnection handling.

NettyProtostuffRPC
0 likes · 3 min read
EasyRPC Framework Overview: Architecture, Server Publishing, and Client Invocation
Big Data Technology & Architecture
Big Data Technology & Architecture
Feb 21, 2019 · Backend Development

Essential Netty Knowledge and Source Code Analysis

This article introduces the "Big Data Path to God" series, lists several Java advanced topics, and provides a comprehensive Netty guide covering BIO/NIO/AIO differences, Netty features, threading model, TCP packet handling, serialization choices, zero‑copy, performance aspects, and key source‑code components.

NettySerializationconcurrency
0 likes · 3 min read
Essential Netty Knowledge and Source Code Analysis
Manbang Technology Team
Manbang Technology Team
Nov 6, 2018 · Backend Development

Pigeon RPC Framework Source Code Analysis

This article provides a comprehensive analysis of Pigeon, a point-based open-source RPC framework used by the company, covering its client-side invoker, server-side provider, call flows, Zookeeper integration, service isolation, and operational features.

Load BalancingNettyPigeon
0 likes · 5 min read
Pigeon RPC Framework Source Code Analysis
Programmer DD
Programmer DD
Oct 14, 2018 · Backend Development

Building a Scalable Netty Push System for Millions of IoT Devices

This article explains how to design and implement a high‑performance, scalable push messaging platform using Netty, covering protocol design, registration/authentication, channel management, message routing, distributed deployment, load balancing, stateful connections, monitoring, and logging to support millions of IoT device connections.

IoTNettydistributed
0 likes · 15 min read
Building a Scalable Netty Push System for Millions of IoT Devices
ITFLY8 Architecture Home
ITFLY8 Architecture Home
Oct 13, 2018 · Backend Development

Why Netty Dominates Modern High‑Performance Network Applications

Netty is a high‑performance, asynchronous, event‑driven NIO framework that supports TCP, UDP and file transfer, offering robust, customizable, and scalable networking solutions widely adopted across internet, big‑data, gaming and telecom industries, with detailed analysis of its architecture, I/O model, threading, serialization, reliability, traffic shaping, graceful shutdown, and security features.

AsynchronousNIONetty
0 likes · 21 min read
Why Netty Dominates Modern High‑Performance Network Applications
Programmer DD
Programmer DD
Jul 8, 2018 · Backend Development

Inside RocketMQ’s Remoting Module: Protocol, Encoding, and Async Communication Explained

This article dissects RocketMQ’s Remoting communication module, covering its architecture, class hierarchy, custom protocol design, message encoding/decoding, synchronous, asynchronous and one‑way communication modes, and the detailed client‑server interaction flow including timeout handling and callback execution.

Async CommunicationNettyRemoting
0 likes · 22 min read
Inside RocketMQ’s Remoting Module: Protocol, Encoding, and Async Communication Explained
Java High-Performance Architecture
Java High-Performance Architecture
May 5, 2018 · Backend Development

Why Spring Boot 2.0 Switched to Lettuce: Key Features and Benefits

This article explains why Spring Boot 2.0 replaced the Jedis Redis client with Lettuce, highlighting Lettuce’s netty‑based architecture, thread‑safe shared connections, asynchronous and reactive support, seamless Redis Sentinel and Cluster integration, SSL, streaming API, and provides code examples for both blocking and async usage.

AsynchronousNettyRedis Cluster
0 likes · 4 min read
Why Spring Boot 2.0 Switched to Lettuce: Key Features and Benefits
Architecture Digest
Architecture Digest
Nov 14, 2017 · Backend Development

Architecture and Technical Practices of JD.com’s Jingmai Message Center

The article details the Jingmai Message Center’s end‑to‑end architecture, covering message ingestion via Anycall and MQ, protocol conversion, Netty‑based push system, Snowflake ID generation, Elasticsearch storage, multi‑level caching, distributed locking, and the overall design principles that enable a scalable, reliable messaging platform.

MicroservicesNettySnowflake ID
0 likes · 9 min read
Architecture and Technical Practices of JD.com’s Jingmai Message Center
Architecture Digest
Architecture Digest
Oct 16, 2017 · Backend Development

Design and Implementation of a Lightweight Distributed RPC Framework (buddha)

This article introduces buddha, a lightweight distributed RPC framework, detailing its design principles, serialization choices, TCP packet handling, BIO vs NIO networking, service registration and discovery using ZooKeeper, and provides implementation insights for building efficient remote procedure call systems.

NettyRPCSerialization
0 likes · 7 min read
Design and Implementation of a Lightweight Distributed RPC Framework (buddha)
Hujiang Technology
Hujiang Technology
Sep 29, 2017 · Backend Development

Implementing WebSocket with Netty and Netty‑socketio: Server and Client Guide

This article explains the background, protocol basics, handshake process, and practical implementation of WebSocket using Netty and netty‑socketio on the server side and socket.io on the client side, providing full code examples and deployment tips for high‑concurrency real‑time applications.

NettyReal‑time communicationSocketIO
0 likes · 9 min read
Implementing WebSocket with Netty and Netty‑socketio: Server and Client Guide
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 Modelbackend development
0 likes · 9 min read
Understanding Netty: Principles, Architecture, and Thread Model
21CTO
21CTO
Sep 8, 2017 · Backend Development

Why Choose Netty Over Tomcat for High‑Performance HTTP Servers

This article explains the motivations for using Netty's HTTP protocol stack instead of a traditional Tomcat web container, covering high‑concurrency support, lower resource consumption, detailed HTTP request/response handling, custom decoders, memory‑leak prevention, and keep‑alive connection management.

HTTP serverNettyhigh concurrency
0 likes · 31 min read
Why Choose Netty Over Tomcat for High‑Performance HTTP Servers
Architecture Digest
Architecture Digest
Jul 18, 2017 · Backend Development

Design and Implementation of Ctrip Real‑Time User Data Collection System

This article describes the design, technology selection, and performance evaluation of Ctrip's real‑time user behavior data collection platform, covering Netty‑based network handling, Kafka/Hermes messaging, encryption, compression, Avro backup, and related analytics products, with detailed feasibility analysis and benchmark results.

Backend ArchitectureData PipelineKafka
0 likes · 17 min read
Design and Implementation of Ctrip Real‑Time User Data Collection System
Ctrip Technology
Ctrip Technology
May 18, 2017 · Backend Development

Design and Implementation of Ctrip's Real-Time User Data Collection System

This article details the design, technology selection, architecture, encryption, compression, and performance evaluation of Ctrip's real-time user data collection system, which leverages Java, Netty, Kafka, and Avro to achieve high throughput, low latency, and robust fault tolerance for mobile and web applications.

Data CollectionNettyPerformance Testing
0 likes · 17 min read
Design and Implementation of Ctrip's Real-Time User Data Collection System
ZhiKe AI
ZhiKe AI
Mar 9, 2017 · Backend Development

Key Components of a Netty Application

The article outlines the core components of Netty—Bootstrap/ServerBootstrap, EventLoop, EventLoopGroup, ChannelPipeline, Channel, Future/ChannelFuture, ChannelInitializer, and ChannelHandler (Inbound and Outbound)—explaining their roles in configuring, handling I/O, and processing data within a non‑blocking, event‑driven network application.

BootstrapChannelHandlerChannelPipeline
0 likes · 3 min read
Key Components of a Netty Application
Qunar Tech Salon
Qunar Tech Salon
Mar 6, 2017 · Backend Development

Understanding Dubbo’s Network Transport Layer and Hessian2 Serialization

This article explains Dubbo’s network transport architecture, the Dubbo protocol with Hessian2 serialization, details the encoding/decoding process using Netty, and proposes optimization techniques such as reducing array copies, leveraging Netty 4 decoders, compressing binary data, and adopting alternative high‑performance serialization formats.

DubboNettyRPC
0 likes · 10 min read
Understanding Dubbo’s Network Transport Layer and Hessian2 Serialization
Architecture Digest
Architecture Digest
Dec 14, 2016 · Backend Development

Deep Dive into Netty: How a Server Starts and Binds a Port

This article explains the internal workflow of Netty when launching a server, covering why Netty is chosen over raw JDK NIO, the key components created during bootstrap, the step‑by‑step source‑code analysis of channel creation, initialization, registration, and the final bind operation that activates the server.

EventLoopJava NIONetty
0 likes · 18 min read
Deep Dive into Netty: How a Server Starts and Binds a Port
Architecture Digest
Architecture Digest
Jul 11, 2016 · Backend Development

Implementing a High‑Performance RPC Server with Netty in Java

This article explains the principles of RPC, evaluates performance‑critical factors such as I/O models and transport protocols, and provides a step‑by‑step guide to building a high‑throughput, Netty‑based RPC server in Java, including design, code structure, testing, and possible enhancements.

NettyRPCbackend
0 likes · 14 min read
Implementing a High‑Performance RPC Server with Netty in Java
21CTO
21CTO
Mar 19, 2016 · Backend Development

How Finagle Powers Twitter’s High‑Volume RPC: Architecture and Code Walkthrough

This article explains how Twitter’s open‑source Finagle framework, built on Netty and written in Scala/Java, provides a fault‑tolerant, protocol‑agnostic RPC layer with load balancing, metrics, tracing, and filters, enabling massive tweet traffic without latency or downtime.

Asynchronous ProgrammingFinagleNetty
0 likes · 11 min read
How Finagle Powers Twitter’s High‑Volume RPC: Architecture and Code Walkthrough
21CTO
21CTO
Oct 7, 2015 · Backend Development

How to Build Transparent Remote Service Calls with Java RPC and Zookeeper

This article explains how large‑scale internet companies replace local service calls with remote procedure calls (RPC), covering Java dynamic proxies, message encoding, serialization, asynchronous response handling, and Zookeeper‑based service registration and discovery to achieve transparent, scalable service communication.

Dynamic ProxyNettyRPC
0 likes · 12 min read
How to Build Transparent Remote Service Calls with Java RPC and Zookeeper
Qunar Tech Salon
Qunar Tech Salon
Jun 4, 2015 · Backend Development

Implementing Service Traffic Replication with TCPCopy and DubboCopy

The article explains how TCPCopy can duplicate live TCP/UDP traffic for testing, describes the challenges of selective traffic copying, and details the design and implementation of DubboCopy—a Netty‑based proxy that lowers usage barriers, supports multi‑dimensional traffic selection, and monitors performance metrics with minimal resource overhead.

DubboCopyNettyPerformance Testing
0 likes · 8 min read
Implementing Service Traffic Replication with TCPCopy and DubboCopy
Art of Distributed System Architecture Design
Art of Distributed System Architecture Design
May 3, 2015 · Backend Development

Designing Scalable Netty Push Services: Real‑World IoT Lessons

This article analyzes common push‑service questions, presents a memory‑leak case from an IoT MQTT middleware, and provides detailed Netty design guidelines—including file‑handle limits, CLOSE_WAIT handling, thread and task management, heartbeat tuning, buffer allocation, memory‑pool usage, logging pitfalls, TCP and JVM optimizations—to help engineers build stable, high‑performance million‑connection push servers.

IoTNettyPush Service
0 likes · 23 min read
Designing Scalable Netty Push Services: Real‑World IoT Lessons
Qunar Tech Salon
Qunar Tech Salon
Mar 13, 2015 · Backend Development

Design and Optimization of Massive Push Services Using Netty

This article analyzes common push‑service questions, presents a real‑world IoT case of memory leakage, and outlines key design points—including kernel limits, CLOSE_WAIT handling, heartbeat configuration, buffer management, memory pooling, logging pitfalls, TCP tuning, and JVM settings—to build a scalable, stable Netty‑based push server for millions of concurrent connections.

NettyPush ServiceTCP
0 likes · 24 min read
Design and Optimization of Massive Push Services Using Netty