Tag

asynchronous I/O

1 views collected around this technical thread.

Mike Chen's Internet Architecture
Mike Chen's Internet Architecture
Jun 12, 2025 · Backend Development

How Nginx Handles Millions of Concurrent Connections: Inside Its Master‑Worker and Event‑Driven Architecture

This article explains Nginx's core Master‑Worker process model, high‑performance event‑driven design, I/O multiplexing with epoll, and asynchronous non‑blocking I/O, showing how these techniques enable the server to sustain millions of simultaneous connections.

IO MultiplexingNginxasynchronous I/O
0 likes · 5 min read
How Nginx Handles Millions of Concurrent Connections: Inside Its Master‑Worker and Event‑Driven Architecture
Deepin Linux
Deepin Linux
Apr 20, 2025 · Backend Development

Understanding IOCP: Windows Asynchronous I/O Completion Port

This article explains the IOCP (I/O Completion Port) mechanism in Windows, covering its principles, advantages, core components, workflow, practical usage steps with code examples, comparisons to other asynchronous models, and common pitfalls such as thread synchronization, memory management, error handling, and load balancing.

IOCPasynchronous I/Onetwork programming
0 likes · 31 min read
Understanding IOCP: Windows Asynchronous I/O Completion Port
Deepin Linux
Deepin Linux
Mar 22, 2025 · Backend Development

Understanding IO Models: Blocking, Non‑blocking, Multiplexing and Asynchronous

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
Understanding IO Models: Blocking, Non‑blocking, Multiplexing and Asynchronous
Deepin Linux
Deepin Linux
Feb 3, 2025 · Backend Development

Understanding and Using io_uring for High‑Performance Asynchronous I/O in Linux

This article introduces Linux's io_uring framework, explains its design goals and advantages over traditional I/O models, details its core components and system calls, provides step‑by‑step implementation examples for file and network operations, and discusses performance comparisons and practical application scenarios.

Linux Kernelasynchronous I/Ohigh performance
0 likes · 43 min read
Understanding and Using io_uring for High‑Performance Asynchronous I/O in Linux
Deepin Linux
Deepin Linux
Jan 9, 2025 · Backend Development

Deep Dive into Network I/O: Principles, Socket Types, and epoll Multiplexing

This article explains the fundamentals of network I/O, covering hardware basics, process scheduling, blocking and non‑blocking models, multiplexed I/O techniques such as select/poll/epoll, asynchronous I/O, socket types, and the user‑kernel boundary, providing a comprehensive guide for backend developers.

LinuxMultiplexingSocket Programming
0 likes · 39 min read
Deep Dive into Network I/O: Principles, Socket Types, and epoll Multiplexing
Mike Chen's Internet Architecture
Mike Chen's Internet Architecture
Dec 4, 2024 · Backend Development

How Nginx Achieves Million-Connection Concurrency: Architecture and Optimization Techniques

This article explains how Nginx uses an event‑driven, asynchronous non‑blocking I/O model together with epoll/kqueue and various optimization strategies such as keep‑alive, caching, efficient data structures and load balancing to handle millions of concurrent connections in large‑scale internet architectures.

Load BalancingNginxasynchronous I/O
0 likes · 5 min read
How Nginx Achieves Million-Connection Concurrency: Architecture and Optimization Techniques
Deepin Linux
Deepin Linux
Sep 28, 2024 · Fundamentals

Understanding io_uring: Linux Asynchronous I/O Framework and Its Implementation

This article provides a comprehensive overview of Linux's io_uring, explaining its design goals, shared‑memory mechanism, submission and completion queues, core system calls, performance advantages over traditional I/O models, typical use cases, and includes a complete example of a network server built with io_uring.

Linux Kernelasynchronous I/Oio_uring
0 likes · 39 min read
Understanding io_uring: Linux Asynchronous I/O Framework and Its Implementation
Deepin Linux
Deepin Linux
Nov 17, 2023 · Backend Development

Understanding Coroutines: Principles, Implementations, and Performance in C/C++

This article explains the concept of coroutines as lightweight user‑level threads, compares them with traditional threads, details various implementation mechanisms in C/C++ (including libco and NtyCo), and demonstrates how they improve I/O‑bound server performance through examples and code snippets.

C++CoroutineNtyCo
0 likes · 45 min read
Understanding Coroutines: Principles, Implementations, and Performance in C/C++
Deepin Linux
Deepin Linux
Oct 9, 2023 · Fundamentals

Fundamentals of Computer Networks, Network Programming, and Asynchronous I/O

This article provides a comprehensive overview of computer networking fundamentals, including C/S and B/S architectures, OSI layers, TCP/UDP protocols, socket programming, code examples, and the concepts of synchronous, asynchronous, blocking, and non‑blocking I/O in Linux.

Computer NetworksOSI modelSocket Programming
0 likes · 28 min read
Fundamentals of Computer Networks, Network Programming, and Asynchronous I/O
JD Retail Technology
JD Retail Technology
Apr 28, 2023 · Backend Development

Node.js: Advantages, Disadvantages, Architecture, and Future Trends

This article examines Node.js’s strengths and weaknesses, its event‑driven architecture, practical code examples, middleware usage, impact on front‑end development, and forecasts its role in future trends such as cloud‑native, serverless, IoT, and AI applications.

Node.jsasynchronous I/Obackend development
0 likes · 15 min read
Node.js: Advantages, Disadvantages, Architecture, and Future Trends
Baidu Geek Talk
Baidu Geek Talk
Dec 21, 2022 · Backend Development

Understanding Node.js: Architecture, Event Loop, and Asynchronous I/O

Node.js is a server‑side JavaScript runtime built on V8 that replaces the browser environment with native libraries, uses libuv’s event loop and thread pool to provide non‑blocking asynchronous I/O, and organizes its architecture into application code, V8, bindings, and libuv layers for efficient backend development.

Event LoopJavaScriptNode.js
0 likes · 16 min read
Understanding Node.js: Architecture, Event Loop, and Asynchronous I/O
IT Services Circle
IT Services Circle
May 31, 2022 · Fundamentals

Understanding Coroutines, Event Loops, and Asynchronous I/O

This article explains why simple serial file reads are slow, compares multithreaded and event‑loop based approaches, introduces the Reactor pattern and callbacks, and finally shows how coroutines provide a synchronous‑style solution for efficient, non‑blocking I/O processing.

CoroutinesEvent LoopReactor Pattern
0 likes · 12 min read
Understanding Coroutines, Event Loops, and Asynchronous I/O
Beike Product & Technology
Beike Product & Technology
Jul 1, 2021 · Backend Development

Understanding Node.js Asynchronous I/O Model and Its Impact on High‑Concurrency Performance

The article analyses a real‑world Node.js service outage caused by sudden 504 timeouts, explains how the asynchronous I/O model creates time‑slice contention under high QPS, presents load‑testing code and results for both I/O‑ and CPU‑bound requests, and offers practical mitigation strategies such as clustering, caching and resource scaling.

CPU BottleneckNode.jsasynchronous I/O
0 likes · 20 min read
Understanding Node.js Asynchronous I/O Model and Its Impact on High‑Concurrency Performance
Top Architect
Top Architect
Apr 19, 2021 · Backend Development

Thread Models and Reactor/Proactor Patterns in Server Architecture

This article explains server thread models—including traditional blocking I/O, the Reactor pattern with its single‑thread, multi‑thread, and master‑slave variants, and the asynchronous Proactor model—detailing their mechanisms, advantages, disadvantages, and typical use cases in backend development.

Reactor PatternThread modelasynchronous I/O
0 likes · 12 min read
Thread Models and Reactor/Proactor Patterns in Server Architecture
Architect
Architect
Feb 12, 2021 · Backend Development

Understanding Nginx Architecture: Daemon Processes, Workers, Connections, and Core Data Structures

This article explains Nginx's high‑performance architecture, covering its daemon mode with master and worker processes, the thundering‑herd problem, advantages of process‑based concurrency, asynchronous non‑blocking I/O, connection handling, keep‑alive and pipeline techniques, as well as key internal data structures such as arrays, queues, lists, strings, memory pools, hash tables, and red‑black trees.

Data StructuresNginxProcess Management
0 likes · 18 min read
Understanding Nginx Architecture: Daemon Processes, Workers, Connections, and Core Data Structures
NetEase Cloud Music Tech Team
NetEase Cloud Music Tech Team
Oct 19, 2020 · Frontend Development

Understanding JavaScript Concurrency, Asynchronous I/O, and the Event Loop

The article explains that JavaScript’s single‑threaded language model relies on the engine and runtime to provide asynchronous I/O and an event loop for concurrency, while multi‑core utilization is achieved through workers, child processes, or clusters, and synchronous APIs remain useful for short, predictable tasks.

Event LoopJavaScriptNode.js
0 likes · 13 min read
Understanding JavaScript Concurrency, Asynchronous I/O, and the Event Loop