Tagged articles
non-blocking I/O
34 articles · Page 1 of 1
The True Async project plans to embed coroutine‑based, non‑blocking I/O directly into the PHP 8.6 core, offering an experimental v0.9.3 extension that supports over 70 native functions, a database pool, an HTTP server, and a low‑intrusion API that lets synchronous‑style code run concurrently, while warning that it is not yet production‑ready.
ConcurrencyPHPasync
0 likes · 11 min read

This article explains the concepts of synchronous vs. asynchronous and blocking vs. non‑blocking I/O, outlines the five Unix I/O models, and then compares select, poll, and epoll—including their internal mechanisms, performance trade‑offs, edge‑ and level‑triggered modes, and why epoll is considered the solution to the C10K problem.
EpollI/O multiplexingLinux
0 likes · 17 min read

Although Linux pipes avoid disk I/O and seem faster, misuse such as tiny frequent writes, mismatched read/write speeds, non‑blocking tight loops, and improper fd handling can drive a single core to 100 % CPU, but the article explains the underlying reasons and step‑by‑step optimizations to prevent it.
CPU usageIPCLinux
0 likes · 17 min read

This article explains what high‑throughput means for an HTTP server, why Node.js’s event‑driven, non‑blocking architecture makes it ideal, and provides step‑by‑step code examples—including a basic server, blocking vs. async I/O, clustering, keep‑alive, JSON optimization, and streaming—to help developers design scalable, low‑latency services.
HTTPNode.jshigh-throughput
0 likes · 8 min read

The article explains the limitations of Spring MVC's blocking model, introduces Spring WebFlux's reactive, asynchronous, non‑blocking architecture, compares annotation and functional programming models, details core components and request flow, and provides guidance on when and how to adopt WebFlux for high‑concurrency I/O‑intensive applications.
FluxReactive ProgrammingSpring WebFlux
0 likes · 13 min read

This article explains Nginx’s core concurrency mechanisms—including its multi‑process architecture, event‑driven model, I/O multiplexing techniques like epoll, and non‑blocking I/O—highlighting how they provide high stability, low resource consumption, and excellent performance for high‑traffic network services.
BackendConcurrencyIO Multiplexing
0 likes · 5 min read

This article explains Nginx's event‑driven architecture, asynchronous non‑blocking I/O, and master‑worker multi‑process model, showing how these techniques eliminate waiting, maximize resource utilization, and enable the server to handle massive concurrent connections efficiently.
BackendNGINXevent-driven
0 likes · 4 min read

This article explains how Redis achieves high concurrency through non‑blocking I/O, an event‑driven reactor model, efficient I/O multiplexing, in‑memory data structures, and cluster sharding to support millions of simultaneous connections.
database scalingevent-driven architecturenon-blocking I/O
0 likes · 4 min read

This article explains the fundamental concepts of I/O models—including blocking, non‑blocking, multiplexing and asynchronous approaches—detailing their mechanisms, advantages, drawbacks, code examples in Python, and practical optimization strategies for high‑concurrency backend systems.
IO modelsLinuxMultiplexing
0 likes · 31 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-stage IO process, and various IO models such as blocking, non‑blocking, select/poll/epoll, signal‑driven and asynchronous approaches.
EpollIOblocking I/O
0 likes · 13 min read


JavaEdgeDec 16, 2024 · Backend Development
Unlike traditional one‑request‑per‑process servers, Nginx uses a fixed number of worker processes with a non‑blocking, event‑driven model that reduces context switches, leverages epoll/kqueue, and handles thousands of connections efficiently, making it the preferred high‑performance web server.
event-drivennon-blocking I/Operformance
0 likes · 8 min read

This article explains PHP 8.1's Fibers feature, describing how they enable lightweight cooperative multitasking, showing basic and advanced code examples for non‑blocking I/O, parallel API/database calls, and large‑file processing, and discusses benefits, use‑cases, and important limitations.
ConcurrencyFibersnon-blocking I/O
0 likes · 12 min read

This article introduces lua‑resty‑redis, explains its non‑blocking I/O model, outlines typical use cases, details installation via OPM, provides step‑by‑step Lua code for basic operations and transactions, and demonstrates testing with curl, helping developers build high‑performance OpenResty services.
backend developmentnon-blocking I/Oredis
0 likes · 10 min read

This article explains the core concepts of I/O in operating systems, covering blocking I/O, non‑blocking I/O, and I/O multiplexing, their workflows, advantages, disadvantages, and practical analogies to help developers choose the right model for their applications.
I/OI/O multiplexingblocking I/O
0 likes · 8 min read

The article explains that Redis achieves exceptional performance through four main factors—its in‑memory storage, optimized data structures, a single‑threaded architecture, and non‑blocking I/O—detailing how each contributes to speed and efficiency.
BackendIn-Memorynon-blocking I/O
0 likes · 6 min read

The article thoroughly examines Redis’s high‑performance architecture, detailing the evolution from blocking to non‑blocking I/O, the Reactor pattern’s single‑ and multi‑reactor models, Redis’s I/O multiplexing thread design, and how its hybrid single‑thread core with auxiliary I/O threads mitigates bottlenecks under heavy traffic.
I/O multiplexingReactor Patternhigh-performance
0 likes · 16 min read

This article explains the motivations behind Spring WebFlux, introduces reactive programming concepts, compares annotated controllers with functional endpoints, discusses when to choose WebFlux over Spring MVC, and provides complete code examples for building a reactive CRUD service with Spring Boot.
JavaReactive ProgrammingSpring WebFlux
0 likes · 17 min read

This article explains the drawbacks of traditional blocking network I/O, introduces non‑blocking reads, and walks through the evolution from multithreaded workarounds to kernel‑level multiplexing mechanisms such as select, poll, and epoll, showing code examples and performance considerations.
EpollIO Multiplexingblocking I/O
0 likes · 13 min read

This article explains the differences between epoll's level‑triggered (LT) and edge‑triggered (ET) modes, shows how to use epoll_create, epoll_ctl, and epoll_wait, provides complete C++ examples for read and write handling, and offers practical guidance on avoiding common pitfalls in high‑performance Linux network programming.
ET modeEpollLT mode
0 likes · 24 min read

This article introduces Node.js by recounting its creator Ryan Dahl's background, explaining its core characteristics of single‑threaded, event‑driven, non‑blocking I/O architecture, describing suitable use cases, and reviewing basic code examples and popular frameworks such as Express, Koa, Nest, and Egg.
BackendFrameworksJavaScript
0 likes · 11 min read

This article explains the four main I/O models—blocking, non‑blocking, multiplexing (reactor), and asynchronous (proactor)—detailing their characteristics, typical implementations in Java and Linux, and when each model is appropriate for building efficient network applications.
I/O multiplexingIO modelsasynchronous I/O
0 likes · 3 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 concepts, performance characteristics, and how they map to Java BIO, NIO, and AIO implementations.
I/O ModelsI/O multiplexingJava NIO
0 likes · 13 min read

This article explains the five I/O models—blocking, non‑blocking, I/O multiplexing, signal‑driven, and asynchronous—detailing their operation, typical applications, advantages, and drawbacks within the Linux/UNIX networking environment, and compares synchronous versus asynchronous I/O concepts.
I/O ModelsI/O multiplexingLinux
0 likes · 11 min read

This article explains the four main I/O models—blocking, non‑blocking, I/O multiplexing (select/epoll), and asynchronous I/O—in the context of Linux network programming, clarifying their mechanisms, differences, and when each model is appropriate.
IO modelsLinuxSystems Programming
0 likes · 9 min read

This article introduces Node.js by covering its origins, core architecture, key features such as event‑driven non‑blocking I/O, and the scenarios where it excels, helping readers decide when and why to choose Node.js for backend development.
JavaScript RuntimeNode.jsarchitecture
0 likes · 12 min read

This article explains the five Linux I/O models—blocking, non‑blocking, I/O multiplexing, signal‑driven, and asynchronous—and shows how Java's BIO, NIO, and AIO APIs map to these models, using clear analogies and code examples to illustrate their synchronous and asynchronous behaviors.
I/O ModelsJavaLinux
0 likes · 11 min read

This article explores server I/O models—including single‑thread blocking, multi‑thread blocking, single‑thread non‑blocking, and multi‑thread non‑blocking (Reactor) approaches—detailing their mechanisms, advantages, drawbacks, and how kernel‑level event detection improves performance, helping developers choose the right model for various scenarios.
Reactor Patternbackend developmentblocking I/O
0 likes · 16 min read

This article explains Java NIO fundamentals—including synchronous vs asynchronous, blocking vs non‑blocking I/O—covers core components such as Channel, Buffer, and Selector, and provides complete example code for file operations and a single‑threaded server/client, comparing NIO with traditional I/O.
BufferNIOSelector
0 likes · 16 min read


21CTOJun 24, 2017 · Backend Development
This article examines how different server‑side languages model I/O, compares blocking and non‑blocking approaches in PHP, Java, Node.js, and Go, and presents benchmark results to help you choose the most suitable technology for high‑load web applications.
GoI/O performanceJava
0 likes · 21 min read

The article explains how NIO replaces the thread‑intensive blocking I/O model with a non‑blocking, event‑driven architecture that lets a single thread handle many connections, covering BIO vs NIO differences, selector mechanics, Reactor/Proactor patterns, buffer strategies, practical use cases, and framework recommendations.
Buffer ManagementI/O multiplexingJava Networking
0 likes · 19 min read


ITPUBFeb 29, 2016 · Backend Development
This guide explains how to implement non‑blocking database operations in Perl using Mojolicious, compares process‑fork and socket‑level async approaches, and provides step‑by‑step code to set up a fully asynchronous app.
AnyEventAsync DatabaseMojolicious
0 likes · 7 min read

This article introduces Node.js’s core characteristics—event‑driven, non‑blocking I/O, lightweight and efficient—while posing key questions about its underlying mechanisms, asynchronous callbacks, synchronous alternatives, event handling, performance limits, and scenarios where Node.js may not be suitable.
Node.jsasynchronousevent-driven
0 likes · 3 min read

This article traces Node.js’s evolution from a modest 2009 V8‑based runtime to a dominant backend platform, highlighting npm’s impact, its event‑driven, non‑blocking architecture, real‑world strengths and limitations, and why careful evaluation is essential before adopting it.
JavaScriptNode.jsbackend development
0 likes · 6 min read

This article explains the concepts of blocking and non‑blocking I/O in Linux device drivers, compares their implementations, demonstrates how select and poll are used for asynchronous access, and provides sample driver code illustrating both approaches.
Linuxblocking I/Odevice driver
0 likes · 7 min read
