Tag

Java networking

1 views collected around this technical thread.

Sanyou's Java Diary
Sanyou's Java Diary
Jan 16, 2022 · Backend Development

Why Netty Beats Tomcat: IO Models, Zero‑Copy, Off‑Heap Memory & Object Pools

This article examines why Netty has become the preferred high‑performance server framework over Tomcat, covering Java I/O models, zero‑copy techniques, off‑heap memory usage, and Netty’s custom object‑pooling, and explains how these features enable handling thousands of concurrent connections efficiently.

IO modelJava networkingNetty
0 likes · 8 min read
Why Netty Beats Tomcat: IO Models, Zero‑Copy, Off‑Heap Memory & Object Pools
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