Tag

poll

0 views collected around this technical thread.

Tencent Technical Engineering
Tencent Technical Engineering
Apr 18, 2025 · Fundamentals

I/O Multiplexing in Linux: Detailed Explanation of select, poll, and epoll

Linux treats all I/O devices as files, enabling a single thread to monitor many descriptors via I/O multiplexing; while select and poll use linear scans and suffer size limits, epoll employs an event‑driven red‑black tree with edge‑triggered mode, offering scalable, high‑performance handling for thousands of concurrent connections.

I/O multiplexingLinuxepoll
0 likes · 30 min read
I/O Multiplexing in Linux: Detailed Explanation of select, poll, and epoll
Lobster Programming
Lobster Programming
Jul 7, 2024 · Backend Development

Understanding Linux poll(): Structure, Events, and How It Works

This article explains the Linux poll() system call, detailing its pollfd structure, event flags, parameters like nfds and timeout, return values, and step‑by‑step operation flow for reading and writing data, highlighting differences from select and its advantages on 32‑bit systems.

BackendIO MultiplexingLinux
0 likes · 5 min read
Understanding Linux poll(): Structure, Events, and How It Works
Sanyou's Java Diary
Sanyou's Java Diary
Oct 9, 2023 · Backend Development

Unlocking Java NIO: How Select, Poll, and Epoll Revolutionize I/O Multiplexing

This article explains the evolution of I/O multiplexing in Java, covering the birth of multiplexing, the introduction of NIO with Selector, and detailed comparisons of select, poll, and epoll mechanisms, including their APIs, internal workings, and performance considerations for high‑concurrency network programming.

I/O multiplexingJavaNIO
0 likes · 44 min read
Unlocking Java NIO: How Select, Poll, and Epoll Revolutionize I/O Multiplexing
Top Architect
Top Architect
Aug 30, 2022 · Backend Development

Understanding IO Multiplexing: select, poll, and epoll in Linux with Code Examples

This article provides an in‑depth explanation of Linux I/O multiplexing models—including select, poll, and epoll—detailing their mechanisms, advantages, limitations, and practical C code examples, while also covering edge‑triggered vs level‑triggered behavior and offering a complete epoll server implementation.

IO MultiplexingLinuxedge trigger
0 likes · 26 min read
Understanding IO Multiplexing: select, poll, and epoll in Linux with Code Examples
Architects' Tech Alliance
Architects' Tech Alliance
Nov 26, 2021 · Fundamentals

Understanding Synchrony, Blocking, Process Switching, File Descriptors, and I/O Models (select, poll, epoll)

This article explains the differences between synchronous and asynchronous execution, blocking and non‑blocking operations, user and kernel space, process switching, file descriptors, cache I/O, and compares various I/O models—including blocking, non‑blocking, multiplexing, signal‑driven, and asynchronous—while highlighting the characteristics of select, poll, and epoll.

IO modelsblockingepoll
0 likes · 15 min read
Understanding Synchrony, Blocking, Process Switching, File Descriptors, and I/O Models (select, poll, epoll)
Architecture Digest
Architecture Digest
Jul 17, 2020 · Backend Development

Comparison of select, poll, and epoll: Time Complexity, Advantages, and Implementation Details

This article compares the three I/O multiplexing mechanisms—select, poll, and epoll—by analyzing their time complexities, limitations, trigger modes, performance characteristics, and implementation details, helping developers choose the most suitable method for different Linux networking scenarios.

IO MultiplexingLinuxepoll
0 likes · 14 min read
Comparison of select, poll, and epoll: Time Complexity, Advantages, and Implementation Details
Selected Java Interview Questions
Selected Java Interview Questions
Jul 13, 2020 · Backend Development

Comparison of select, poll, and epoll: Mechanisms, Complexity, and Practical Usage

This article compares the three I/O multiplexing mechanisms—select, poll, and epoll—detailing their time‑complexities, limitations, implementation details, trigger modes, and performance trade‑offs to help developers choose the most suitable method for different Linux networking scenarios.

BackendIO MultiplexingLinux
0 likes · 13 min read
Comparison of select, poll, and epoll: Mechanisms, Complexity, and Practical Usage
Xiaokun's Architecture Exploration Notes
Xiaokun's Architecture Exploration Notes
Mar 10, 2020 · Fundamentals

Unlocking Linux IO Multiplexing: How select, poll, and epoll Really Work

This article explains the Linux kernel's wait‑queue mechanism, the sleep and wake‑up logic behind socket events, and how the IO‑multiplexing models select, poll, and epoll are implemented, including their core code paths, performance trade‑offs, and edge versus level triggering.

IO MultiplexingLinuxepoll
0 likes · 24 min read
Unlocking Linux IO Multiplexing: How select, poll, and epoll Really Work