Tagged articles
3 articles
Page 1 of 1
vivo Internet Technology
vivo Internet Technology
Aug 28, 2024 · Backend Development

Time Wheel Algorithm: Evolution, Implementation, and Applications

The article chronicles the time wheel algorithm from its 1997 origins, explains simple, round‑based, and hierarchical wheel designs, compares them to queue timers, details Dubbo’s HashedWheelTimer implementation, and shows how combining the wheel with a delay‑message queue can dramatically improve service scalability and efficiency.

Backend DevelopmentData StructuresDubbo
0 likes · 20 min read
Time Wheel Algorithm: Evolution, Implementation, and Applications
Liangxu Linux
Liangxu Linux
Jun 15, 2024 · Fundamentals

Mastering Software Timers on STM32: Theory, Design, and Code

This guide explains what software timers are, their implementation principles in operating systems, and provides a complete STM32‑based example with data structures, state machines, and full C code for initialization, start, update, stop, and status queries.

Embedded CSTM32callback
0 likes · 10 min read
Mastering Software Timers on STM32: Theory, Design, and Code
Liangxu Linux
Liangxu Linux
Jun 10, 2024 · Fundamentals

Mastering Software Timers on STM32: From Theory to Practical Implementation

This article explains what software timers are, their implementation principles in operating systems, and provides a detailed STM32-based example—including clock tick handling, data structures, state management, and full C code for initializing, starting, updating, stopping, and testing timers.

Embedded CSTM32callback
0 likes · 10 min read
Mastering Software Timers on STM32: From Theory to Practical Implementation