Netty, Meet THE IO Framework for the JVM
summary
Netty is presented as a high-performance IO framework for the JVM that achieves extreme throughput by using an event-loop-per-thread model, a direct ByteBuf pool with reference counting to avoid GC copies, optional native transports (epoll/kqueue) and native TLS via TCNative/BoringSSL, and a composable pipeline of handlers for codecs, TLS, DNS, etc. A demo builds a simple microservice that reportedly sustains hundreds of thousands of requests per second, with the caveat that blocking work must be offloaded and Netty’s memory model prevents direct use of virtual threads.
AI-written summary · about
chapters (6)
- 0:00Introduction to Netty
- 10:40Java IO APIs evolution
- 20:14Event Loops in Netty
- 27:13Memory management and Byte Buffers
- 32:38Netty server demo
- 39:09Netty future and HTTP/3
related talks
39mNetty 5: Lessons Learned
39mAmazing WebSockets in Netty
46mJava: Odlotowe Gniazda Sieciowe w Netty
22mEvent driven networking for Swift
38mReactive ❤️ Loom: A Forbidden Love Story
46mReactive ❤️ Loom: A Forbidden Love Story
20mNetKernel: Making Network Stack Part of the Virtualized Infrastructure
01h 13mReactive vs. Virtual threads power with Helidon Nima
