Tag

ByteBuf

0 views collected around this technical thread.

Wukong Talks Architecture
Wukong Talks Architecture
Dec 22, 2021 · Backend Development

Understanding Netty: Core Components, Architecture, and a Simple Chat Server Example

This tutorial explains why Netty is preferred over raw NIO, introduces its core components and architecture, and walks through a complete Java example of a simple Netty chat server, including handling of connections, message broadcasting, pipeline configuration, and TCP sticky‑packet issues.

ByteBufChannelPipelineJava
0 likes · 25 min read
Understanding Netty: Core Components, Architecture, and a Simple Chat Server Example
Xiaokun's Architecture Exploration Notes
Xiaokun's Architecture Exploration Notes
May 8, 2020 · Backend Development

How Netty Scales to Millions of Connections: C10K/C10M Deep Dive

This article explains how Netty achieves high‑performance, scalable networking by addressing the C10K and C10M problems through efficient I/O models, multithreading, zero‑copy ByteBuf handling, memory allocation strategies, and resource management techniques, providing practical code examples and architectural diagrams.

ByteBufC10KC10M
0 likes · 25 min read
How Netty Scales to Millions of Connections: C10K/C10M Deep Dive
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.

ByteBufEventLoopJava
0 likes · 30 min read
Unlock Netty’s Core: Deep Dive into ServerBootstrap, EventLoop, and ByteBuf
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.

BootstrapByteBufJava
0 likes · 17 min read
Unlock High‑Performance Networking: Understanding Netty’s Core Architecture
Qunar Tech Salon
Qunar Tech Salon
Apr 10, 2015 · Backend Development

Common Pitfalls and Solutions When Building an Asynchronous Redis Client with Netty

This article shares five practical pitfalls encountered while building a pure‑async Redis client with Netty, covering thread‑model changes, pooled ByteBuf allocation across threads, ByteBuf expansion, connection timeout handling, and flow‑control in asynchronous writes, and offers concrete code‑based solutions.

ByteBufJavaPerformance
0 likes · 13 min read
Common Pitfalls and Solutions When Building an Asynchronous Redis Client with Netty