Understanding Java NIO Internals: From API to Kernel Implementation

Java NIO (New I/O, introduced in JDK 1.4) represents a revolutionary upgrade over traditional BIO, fundamentally addressing BIO's high-concurrency bottleneck of "one connection per thread." This analysis dissects Java NIO's underlying logic from four dimensions: core components, low-level principles, mapping to operating system I/O mo ...

Posted on Mon, 10 Aug 2026 16:37:55 +0000 by silasslack

Netty 4 Client-Server Communication Demo

Netty is an asynchronous event-driven network application framework that simplifies the development of high-performance protocol servers and clients. This article walks through a minimal but complete client-server communication example built with Netty 4.1, using the Reactor threading model (Main Reactor + Sub Reactors) and line-delimited strin ...

Posted on Mon, 29 Jun 2026 17:22:47 +0000 by btherl