NOTE
Netty Core Components
The roles of Bootstrap, EventLoopGroup, EventLoop, Channel, Pipeline, Handler, Future, and ByteBuf.
This is a historical learning note and may contain outdated or incomplete understanding.
Core Netty concepts are:
Bootstrap/ServerBootstrap: configure and initiate client/server channels;EventLoopGroup: owns event-loop executors;EventLoop: processes events/tasks for assigned channels;Channel: network I/O endpoint abstraction;ChannelPipeline: ordered handler chain;- inbound/outbound handlers: transform/react to events and operations;
ChannelFuture: asynchronous completion;ByteBuf: Netty’s byte container with reader/writer indexes and optional reference counting/pooling.
Understanding ownership and thread confinement between these pieces is more valuable than memorizing one class hierarchy.