Tag

Non-blocking I/O

0 views collected around this technical thread.

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
php中文网 Courses
php中文网 Courses
Aug 22, 2024 · Backend Development

Understanding PHP 8.1 Fibers: Concepts, Usage, and Practical Examples

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.

ConcurrencyNon-blocking I/OPHP 8.1
0 likes · 12 min read
Understanding PHP 8.1 Fibers: Concepts, Usage, and Practical Examples
Selected Java Interview Questions
Selected Java Interview Questions
Aug 10, 2023 · Backend Development

Why Single‑Threaded Redis Is So Fast: Four Key Design Choices

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.

In-MemoryNon-blocking I/OPerformance
0 likes · 6 min read
Why Single‑Threaded Redis Is So Fast: Four Key Design Choices
vivo Internet Technology
vivo Internet Technology
Nov 24, 2021 · Databases

Redis I/O Model and Thread Model Deep Dive

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.

Backend DevelopmentI/O multiplexingNetwork Programming
0 likes · 16 min read
Redis I/O Model and Thread Model Deep Dive
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Oct 18, 2021 · Backend Development

Why Spring WebFlux? A Deep Dive into Reactive, Non‑Blocking Backend Development

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.

Backend DevelopmentJavaNon-blocking I/O
0 likes · 17 min read
Why Spring WebFlux? A Deep Dive into Reactive, Non‑Blocking Backend Development
Refining Core Development Skills
Refining Core Development Skills
Apr 22, 2021 · Backend Development

Understanding Epoll and Non‑Blocking I/O Through a Process Story

This article narrates how a process interacts with sockets, the drawbacks of blocking reads, the shift to non‑blocking I/O, and the advantages of epoll’s multiplexing in Linux, illustrating the concepts with a humorous story and visual diagrams.

Linux kernelNetwork ProgrammingNon-blocking I/O
0 likes · 7 min read
Understanding Epoll and Non‑Blocking I/O Through a Process Story
New Oriental Technology
New Oriental Technology
Mar 22, 2021 · Backend Development

Introduction to Node.js: History, Core Features, and Ecosystem

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.

FrameworksJavaScriptNode.js
0 likes · 11 min read
Introduction to Node.js: History, Core Features, and Ecosystem
Java Captain
Java Captain
Aug 18, 2020 · Backend Development

Understanding the Five I/O Models: Blocking, Non‑Blocking, I/O Multiplexing, Signal‑Driven, and Asynchronous I/O

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.

Backend DevelopmentI/O modelsI/O multiplexing
0 likes · 11 min read
Understanding the Five I/O Models: Blocking, Non‑Blocking, I/O Multiplexing, Signal‑Driven, and Asynchronous I/O
Java Captain
Java Captain
Aug 22, 2017 · Backend Development

Understanding Java NIO: Channels, Buffers, Selectors and Example Code

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.

BufferJavaNIO
0 likes · 16 min read
Understanding Java NIO: Channels, Buffers, Selectors and Example Code