~/talk

Netty 5: Lessons Learned

Talkat Scale By The Bay 2019 · 2019-11-13..11-15· [networking, java]
slides:none on file

Netty 5 removes costly handler traversal with a new skip annotation that reduces per-read call sites and, in a five-handler microbenchmark, raises operations from ~230k/s to ~750k/s (~3x throughput). The pipeline now caches a bitmask in a thread-local cache to avoid repeated reflection, and the event loop splits selection from task execution to expose metrics and extensibility. A pooled direct memory allocator plus pooled ByteBuf reuse collapses allocation churn to ~1k objects in steady state. Roadmap targets 5.0 alpha in 2020; profiling uses async‑profiler/YourKit.

AI-written summary · about

  1. 0:00Introduction and Netty overview
  2. 4:31Why Netty 5 was needed
  3. 5:58Stack traces and channel pipelines
  4. 13:39Event loop extensibility
  5. 21:09Buffer pooling and memory issues
  6. 29:55Netty 5 roadmap and features
  7. 32:49Java 8+ features in Netty 5
  8. 34:54Performance bottleneck discovery
  9. 36:44HTTP/2 rework plans
  10. 38:29Q&A and closing
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.