Tagged articles
6 articles
Page 1 of 1
Selected Java Interview Questions
Selected Java Interview Questions
Jan 22, 2025 · Backend Development

Implementing Automatic Order Cancellation for Timeout Orders in a Monolithic Backend System

This article explains three backend solutions—database polling with scheduled tasks, JDK DelayQueue, and Netty's HashedWheelTimer—for automatically cancelling unpaid orders after a timeout in a monolithic architecture, detailing their implementation steps, pros, cons, and optimization tips with Java code examples.

DelayQueueHashedWheelTimerautomatic cancellation
0 likes · 11 min read
Implementing Automatic Order Cancellation for Timeout Orders in a Monolithic Backend System
Su San Talks Tech
Su San Talks Tech
Jan 14, 2025 · Backend Development

Mastering Dubbo’s Time Wheel: From Theory to Source Code

This article explains the concept and implementation of the time wheel in Dubbo, covering its use for scheduled retries, heartbeat handling, underlying HashedWheelTimer mechanics, configuration details, performance considerations, and related issues, providing a thorough guide for backend developers.

DubboFailbackHashedWheelTimer
0 likes · 22 min read
Mastering Dubbo’s Time Wheel: From Theory to Source Code
Top Architect
Top Architect
Mar 29, 2022 · Backend Development

Various Implementations of Delayed Tasks in Java: Quartz, DelayQueue, HashedWheelTimer, Redis, and RabbitMQ

This article compares several approaches to implementing delayed tasks in Java, including Quartz polling, JDK DelayQueue, Netty's HashedWheelTimer, Redis sorted sets and keyspace notifications, and RabbitMQ delayed queues, analyzing their principles, code examples, advantages, and drawbacks for order timeout handling.

BackendDelayQueueHashedWheelTimer
0 likes · 16 min read
Various Implementations of Delayed Tasks in Java: Quartz, DelayQueue, HashedWheelTimer, Redis, and RabbitMQ
JavaEdge
JavaEdge
Oct 14, 2020 · Backend Development

How Dubbo Implements Efficient Timers with a Hashed Timing Wheel

This article explains the need for high‑performance scheduling in Java, introduces the hashed timing wheel algorithm, and details Dubbo's implementation—including core interfaces, data structures, worker logic, and practical use cases such as retries and heartbeat handling.

BackendDubboHashedWheelTimer
0 likes · 11 min read
How Dubbo Implements Efficient Timers with a Hashed Timing Wheel