ELSEIF
Your brief EB
512 stories from 214 feeds 1268 clusters Refreshed 25 minutes ago next pull 19:44

TECH Signal 169

Epoll and Kqueue: How Operating Systems Learned to Wait Efficiently

The article explains how epoll and kqueue replace polling with persistent kernel tracking to reduce CPU overhead in high-concurrency I/O.

WHY IT MATTERS

Engineers building scalable network services must replace thread-per-connection or polling models with event notification APIs to avoid CPU saturation from linear descriptor scans. Without these mechanisms, handling thousands of connections becomes infeasible due to excessive context switching and idle waiting.

Written by elseif from the cluster below · every claim links back to a source

The three things worth knowing

01

epoll and kqueue replace polling with persistent kernel event tracking to eliminate linear descriptor scans.

02

They enable event-driven I/O by registering interest once and receiving notifications only on state changes.

03

This shifts waiting cost from capacity-dependent to activity-dependent, scaling with concurrent connections.

THE CLUSTER

Same story, 1 feed.

ORDERED BY FIRST SEEN
substack.com via Hacker News Epoll and Kqueue: How Operating Systems Learned to Wait Efficiently Open ↗