Tagged articles
3 articles
Page 1 of 1
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
Meituan Technology Team
Meituan Technology Team
Nov 4, 2016 · Backend Development

Understanding NIO: From Blocking I/O to Non-Blocking I/O Models

The article explains how NIO replaces the thread‑intensive blocking I/O model with a non‑blocking, event‑driven architecture that lets a single thread handle many connections, covering BIO vs NIO differences, selector mechanics, Reactor/Proactor patterns, buffer strategies, practical use cases, and framework recommendations.

Event-Driven ArchitectureI/O MultiplexingJava networking
0 likes · 19 min read
Understanding NIO: From Blocking I/O to Non-Blocking I/O Models