Tagged articles
non-blocking-io
19 articles · Page 1 of 1
The article explains why a gateway is the first traffic entry in microservice systems and how Spring Cloud Gateway achieves million‑level concurrent handling through a reactive model, non‑blocking I/O, event‑driven scheduling, zero‑copy transmission, and built‑in rate‑limiting mechanisms.
Spring Cloud Gatewayevent-drivenhigh concurrency
0 likes · 3 min read


liandkJul 22, 2026 · Backend Development
This article breaks down the four core concepts of blocking vs non‑blocking and synchronous vs asynchronous, explains BIO, NIO, and AIO with everyday analogies, lists each model's mechanisms, pros and cons, and provides a concise cheat‑sheet for interview preparation.
IO modelsJavaasynchronous IO
0 likes · 6 min read

This guide explains why traditional Spring MVC struggles under high concurrency, introduces Spring WebFlux’s asynchronous non‑blocking model, compares its performance to MVC, walks through core reactive concepts, shows practical code for controllers, functional endpoints, R2DBC integration, backpressure, scheduling, SSE, gateway usage, and real‑world benchmarking results.
R2DBCReactive ProgrammingSSE
0 likes · 17 min read

This article explains why direct writes to a Java NIO channel fail for large messages, introduces a write‑queue and OP_WRITE listener to handle partial writes, and provides a complete PacketWriter implementation that transforms synchronous writes into efficient asynchronous operations.
Java NIONettySocketChannel
0 likes · 9 min read

This article explains what network programming is, why it matters beyond HTTP, compares BIO and NIO models, dives into Java NIO's design with selectors, channels, and ByteBuffer methods, provides full server/client code examples, and shows how Netty simplifies high‑performance networking.
ByteBufferJavaNIO
0 likes · 23 min read

This comprehensive guide explains the fundamentals of IO models—including blocking, non‑blocking, multiplexing, and asynchronous approaches—detailing their kernel interactions, practical Python examples, performance trade‑offs, and real‑world optimization strategies for high‑concurrency server applications.
IO modelsMultiplexingPython
0 likes · 33 min read


Java OneMay 19, 2025 · Backend Development
This article examines the difficulties of building non‑blocking services with Java NIO, compares blocking and non‑blocking pipelines, and presents practical designs for handling partial reads, dynamic buffers, message framing, and efficient write management to scale servers to millions of connections.
Java NIOSelectormessage parsing
0 likes · 19 min read

This article explains how Redis achieves million‑level concurrent connections by using an event‑driven Reactor model, non‑blocking I/O, efficient I/O multiplexing such as epoll, and in‑memory data storage to deliver ultra‑low latency and high throughput.
EpollEvent‑Drivenhigh concurrency
0 likes · 4 min read

This article explains the fundamentals of input/output (IO) in operating systems, covering the basic IO concept, the role of the OS, the two‑phase IO call process, and detailed descriptions of blocking, non‑blocking, multiplexed (select, poll, epoll), signal‑driven and asynchronous IO models with example code.
EpollIOMultiplexing
0 likes · 13 min read

This article introduces the basic concepts of I/O and explains three Unix network programming models—blocking I/O, non‑blocking I/O, and I/O multiplexing—detailing their workflows, advantages, disadvantages, and practical analogies for better comprehension.
IOIO Multiplexingblocking IO
0 likes · 10 min read

This article explains the five Linux I/O models—blocking, non‑blocking, I/O multiplexing, signal‑driven, and asynchronous—detailing their system calls, behavior, and performance characteristics while using vivid analogies to illustrate each model’s workflow.
EpollIO modelsasynchronous IO
0 likes · 10 min read

The article explains Java NIO’s non‑blocking channels, buffers, and selectors, then shows how the open‑source Tars RPC framework builds a multi‑reactor, multi‑thread network model on top of NIO—detailing server socket setup, event dispatch, session management, and read/write processing.
Java NIOReactor PatternTars
0 likes · 18 min read

The article explains why database connections in Java applications usually rely on connection pools instead of IO multiplexing, discusses the blocking nature of JDBC, outlines how non‑blocking drivers could be built, and examines the practical and architectural reasons that prevent IO multiplexing from becoming the default.
Database Connection PoolIO MultiplexingJDBC
0 likes · 7 min read

This article provides a comprehensive overview of Spring WebFlux, covering its reactive fundamentals, key components, auto‑configuration process, functional endpoints, request handling flow, performance benchmarks against Spring MVC, and recommended reactive data stores for high‑concurrency applications.
Reactive ProgrammingSpring FrameworkSpring WebFlux
0 likes · 14 min read

Explore the four fundamental I/O models—Blocking, Non‑Blocking, I/O Multiplexing (Reactor), and Asynchronous (Proactor)—with clear explanations and illustrative diagrams, helping readers grasp how each model works, their typical use cases, and why technologies like epoll or Redis benefit from multiplexing.
I/O multiplexingIO modelsasynchronous IO
0 likes · 3 min read

This article explains the principles behind Linux's epoll mechanism, how IO multiplexing enables a single thread to manage many file descriptors efficiently, the role of non‑blocking sockets, and why epoll outperforms select and poll for high‑concurrency network services.
EpollIO MultiplexingLinux kernel
0 likes · 16 min read

This article explains the five Linux I/O models—blocking, non‑blocking, I/O multiplexing, signal‑driven, and asynchronous—detailing their system calls, synchronization characteristics, and how they map to Java BIO, NIO, and AIO implementations, with illustrative analogies and usage scenarios.
IO modelsJava NIOLinux
0 likes · 15 min read

This article explains how servers handle massive concurrent requests by evolving from simple multi‑process models to lightweight threads, then to event‑driven architectures with I/O multiplexing, highlighting the trade‑offs of blocking versus non‑blocking I/O and the role of coroutines.
ConcurrencyIO Multiplexingevent-loop
0 likes · 12 min read

This article explains Java NIO introduced in Java 1.4, covering its core components—Channels, Buffers, and Selectors—detailing channel types, buffer operations, non‑blocking behavior, selector usage, and code examples such as FileChannel and Pipe, and compares NIO with classic IO.
BuffersChannelsJava NIO
0 likes · 19 min read
