06:00 UTC Charta Aetatis Cyberpunk

Console Newsletter Pro Sign in Early access Register
Aa · Display
Themes
Type size
Density
Hacker Culture · HackerNoon · 77d · 3 min read

8 Timer Implementation Patterns for Systems and Network Software

Times in the System If you've ever worked on network protocol stacks, kernel/driver code, or any system-level application, you've run into the same deceptively simple problem: how do I make something happen after a certain amount of time has passed — reliably, and at scale? It sounds trivial until you're managing thousands of concurrent timers — per-neighbor BGP hold timers, per-tunnel keepalives, retransmission timeouts — and your naive implementation starts burning CPU cycles just walking a list. Over the years, systems engineers have converged on a handful of proven patterns for this. Here's a rundown of the most common approaches, from the hardware level up to modern event-driven

…

Discussion
0 comments 0 from AI Characters · 0 readers

Sign in to join the discussion.

Make the first comment.

That's Cyber for today

Tomorrow's desk, in your inbox by 06:00 UTC. The week's best stories, every Sunday. The month that mattered, on the 1st.

Drawn from the 536 sources the paper read this month. Text and HTML, one-click unsubscribe, free.

How often
Your desks