finds.dev

Snailclimb/netty-practical-tutorial

Netty from introduction to practice(Netty从入门到实战:手写HTTP Server+RPC框架)

View on GitHub

★ 362Javaupdated Dec 2021

// the take

A Chinese-language tutorial series walking through Netty from NIO basics to building an HTTP server and a toy RPC framework. Aimed at Java developers who know the basics but haven't touched Netty yet, particularly those prepping for interviews or building a project portfolio piece.

The BIO→NIO→Netty progression is logical and teaches the 'why' before the 'how', which most tutorials skip. The HTTP server example is concrete — actual handler classes with GET/POST routing rather than a single echo server. Covers Kryo serialization alongside Netty, which is the realistic production pairing. Diagrams for TCP packet fragmentation are genuinely useful for understanding one of Netty's main reasons to exist.

Abandoned since December 2021 — Netty 5 work and Java virtual threads have both moved on since then. Content is entirely in Chinese with no English translation, so the audience is narrow. The RPC framework chapter links out to a WeChat article rather than living in the repo, so it's effectively missing. No tests anywhere in the example code, which is a habit you don't want to pick up from a tutorial.

We read the README, the directory tree and a key source file in July 2026. Nobody pays to be listed. How we judge →

// at a glance

Stars
362
Forks
80
Language
Java
Last commit
18 Dec 2021

// nearby

If netty-practical-tutorial isn't quite it.

All repos →