Tagged articles
delayed tasks
50 articles · Page 1 of 1
The article compares Spring @Scheduled, Quartz, and db-scheduler for clustered scheduling, showing how db-scheduler uses a single database table to provide cluster-safe mutex, persistence, and one-time delayed tasks without the overhead of Quartz's eleven tables or external middleware.
JavaQuartzSpring Boot
0 likes · 13 min read

The article explains how to replace the common @Scheduled per‑minute scan or Redis TTL approach for auto‑closing unpaid orders with JobRunr’s durable delayed‑job feature in Spring Boot, detailing the implementation steps, scalability benefits, idempotent handling, and distributed execution considerations.
Background JobsDistributed SchedulingIdempotency
0 likes · 11 min read


ITPUBMay 26, 2026 · Backend Development
The article compares common delayed‑task solutions for order cancellation, explains why Redis expiration listeners, RabbitMQ dead‑letter queues, and in‑memory time wheels are unreliable, and recommends using proper message‑queue delayed delivery or Redisson delay queues with compensation mechanisms.
DelayQueueMessage QueueRabbitMQ
0 likes · 7 min read


ITPUBJan 3, 2026 · Backend Development
This article dissects a common interview question about automatically canceling unpaid orders after 30 minutes, explains why naive cron jobs fail at scale, and presents three robust backend designs—Redis ZSet polling, message‑queue delayed messages, and time‑wheel timers—along with practical code snippets and pitfalls to avoid.
Interview Preparationbackend architecturedelayed tasks
0 likes · 11 min read

This article explains how River, a Go job‑queue library, implements delayed execution, priority handling, exponential‑backoff retries, batch inserts, monitoring, and best‑practice patterns, and compares it with other queue solutions to help developers build reliable, high‑performance background processing pipelines.
GoRiverbatch processing
0 likes · 14 min read

This article explains how modern PHP applications can handle time‑consuming background work by using controllable delayed delivery with lightweight database or Redis solutions instead of heavyweight queue systems, offering code examples, pros and cons, and guidance on when a full queue is truly needed.
crondatabase schedulingdelayed tasks
0 likes · 8 min read

The article systematically analyzes common distributed delayed‑task implementations—Redis ZSet scanning, message‑queue delay features, and Redis key‑expiration listeners—highlighting their pros, cons, and suitable scenarios, then proposes a Spring Boot + DelayQueue component to achieve precise timing, dynamic delays, and robust coordination.
DelayQueueKafkaRedis
0 likes · 11 min read

This article explores various techniques for implementing delayed tasks in Java, comparing Quartz database polling, JDK DelayQueue, Netty's HashedWheelTimer, Redis sorted sets, and RabbitMQ delayed queues, detailing their implementations, advantages, drawbacks, and practical code examples for handling order timeouts.
JavaQuartzRabbitMQ
0 likes · 16 min read

This article examines four techniques for automatically closing overdue orders—database polling, Redis key‑expiration listeners, Redis sorted‑set delay queues, and message‑queue delayed messages—detailing their implementations, advantages, drawbacks, and practical recommendations for reliable backend systems.
Message Queuedatabase pollingdelayed tasks
0 likes · 11 min read

The article examines how e‑commerce platforms implement order auto‑closure using delayed tasks, compares methods such as message‑queue delayed delivery, Redisson delay queue, Redis expiration listening, RabbitMQ dead‑letter queues and time wheels, and recommends reliable approaches while warning against unsafe practices.
Message QueueRabbitMQRedis
0 likes · 6 min read

The article examines various approaches for implementing accurate order‑cancellation timers in e‑commerce systems, compares message‑queue delayed delivery, Redisson delay queues, Redis expiration listeners, RabbitMQ dead‑letter queues, and time wheels, and recommends reliable solutions while warning against common pitfalls.
Redissonbackend developmentdelayed tasks
0 likes · 8 min read

This article compares several ways to implement order‑closing delayed tasks—message‑queue delayed delivery, Redisson DelayQueue, Redis expiration listening, RabbitMQ dead‑letter queues, and time wheels—explaining their mechanisms, drawbacks, and recommending the most reliable solutions for production systems.
Message QueueRabbitMQRedis
0 likes · 7 min read

This article explains various approaches to delayed task handling—such as database polling, JDK DelayQueue, Redis expiration listeners, Redisson delay queues, RocketMQ delayed messages, and RabbitMQ dead‑letter queues—evaluating their advantages, drawbacks, and best‑practice recommendations for reliable order‑expiration workflows.
Message QueueRedisSpring
0 likes · 17 min read

The article explains why using Redis expiration or RabbitMQ dead‑letter queues for delayed order‑cancellation tasks is unreliable, compares several approaches such as message‑queue delayed delivery, Redisson delay queues, and time wheels, and recommends robust solutions like RocketMQ or Pulsar for accurate timing.
Message QueueRabbitMQRedis
0 likes · 7 min read

This article explores eight practical scenarios for using message queues—such as asynchronous processing, service decoupling, traffic shaping, delayed tasks, log collection, distributed transactions, remote calls, and broadcast notifications—providing code examples with RabbitMQ, RocketMQ, and Kafka to illustrate each pattern.
Asynchronous ProcessingBroadcast NotificationsLog Collection
0 likes · 15 min read

This article explores eight practical use cases for message queues—including asynchronous processing, service decoupling, traffic shaping, delayed tasks, log collection, distributed transactions, remote calls, and broadcast notifications—providing code examples and architectural guidance for building robust backend systems.
Asynchronous ProcessingMessage QueueRocketMQ
0 likes · 13 min read

This article explores eleven practical approaches for implementing delayed tasks in Java, covering native APIs like DelayQueue and Timer, thread‑pool executors, popular message‑queue solutions such as RocketMQ and RabbitMQ, as well as Redis‑based techniques, Redisson, Netty, Hutool, Quartz, and simple polling implementations.
ConcurrencyJavadelayed tasks
0 likes · 25 min read

This article explores eleven practical methods for implementing delayed tasks in Java, covering native APIs like DelayQueue and Timer, advanced executors such as ScheduledThreadPoolExecutor, and popular messaging solutions including RocketMQ, RabbitMQ, Redis, Redisson, Netty, Hutool, and Quartz, with code demos and implementation details.
ConcurrencyMessage QueueRedis
0 likes · 27 min read

This article explains the concept of delayed tasks, distinguishes them from scheduled tasks, and presents six practical Java implementations—including Quartz database polling, JDK DelayQueue, Netty's HashedWheelTimer, Redis sorted sets, Redis key‑space notifications, and RabbitMQ delayed queues—along with their advantages and drawbacks.
JavaQuartzRabbitMQ
0 likes · 14 min read

This article explains the concept of delayed tasks, compares them with scheduled tasks, and evaluates multiple implementation strategies—including database polling, JDK DelayQueue, Netty HashedWheelTimer, Redis ZSET, Redis keyspace notifications, and RabbitMQ delayed queues—highlighting their advantages and drawbacks for order‑processing scenarios.
JavaQuartzRabbitMQ
0 likes · 15 min read

This article compares delayed tasks with scheduled tasks and presents six practical Java solutions—database polling with Quartz, JDK DelayQueue, Netty's HashedWheelTimer, Redis ZSET, Redis key‑space notifications, and RabbitMQ delayed queues—detailing their implementations, advantages, and drawbacks for handling order‑timeout scenarios.
DelayQueueJavaQuartz
0 likes · 16 min read

The article explains the concept of delayed tasks versus scheduled tasks in payment systems, outlines their key differences, and evaluates five practical implementation approaches—Quartz database polling, JDK DelayQueue, Netty's HashedWheelTimer, Redis ZSET/Keyspace notifications, and RabbitMQ delayed queues—detailing their code examples, advantages and drawbacks.
DelayQueueJavaQuartz
0 likes · 16 min read

The article examines various delayed‑task solutions for order timeout handling in Java, including database polling with Quartz, JDK DelayQueue, Netty's HashedWheelTimer, Redis sorted‑set and key‑space notifications, and RabbitMQ delayed queues, analyzing their implementation steps, advantages, and drawbacks.
BackendJavaRabbitMQ
0 likes · 18 min read

This article surveys eleven practical techniques for implementing delayed tasks in Java, covering JDK utilities like DelayQueue, Timer, and ScheduledThreadPoolExecutor, as well as message‑queue solutions such as RocketMQ, RabbitMQ, Redis key‑expiration, Redisson, Netty, Hutool, Quartz, and simple polling, with code demos and implementation principles.
Message QueueRedisScheduling
0 likes · 26 min read

The article evaluates common approaches for implementing delayed tasks such as order‑closing, critiques unreliable methods like Redis expiration listeners and RabbitMQ dead‑letter queues, and recommends robust solutions like RocketMQ, Pulsar, or Redisson delay queues with proper compensation mechanisms.
BackendMessage QueueRabbitMQ
0 likes · 8 min read

This article compares delayed tasks with scheduled tasks, explains their differences, and presents five practical Java solutions—including database polling, JDK DelayQueue, Netty time wheel, Redis implementations, and RabbitMQ—detailing each approach's design, code examples, advantages, and drawbacks.
JavaRabbitMQRedis
0 likes · 19 min read

The article examines various ways to implement precise delayed tasks such as order‑closure timers in e‑commerce, comparing message‑queue delayed delivery, Redisson DelayQueue, Redis expiration listening, RabbitMQ dead‑letter queues, and time‑wheel structures, and recommends the most reliable approaches.
BackendMessage QueueRabbitMQ
0 likes · 6 min read

The article explains why common shortcuts such as Redis key‑space expiration notifications, RabbitMQ dead‑letter queues, and non‑persistent time wheels are unreliable for implementing delayed tasks, and recommends using proper message‑queue solutions like RocketMQ, Pulsar, or Redisson DelayQueue with compensation mechanisms.
Message QueueRabbitMQRedis
0 likes · 8 min read

The article explains why using Redis key‑expiration notifications or RabbitMQ dead‑letter queues for delayed task execution is risky, compares several common approaches, and recommends reliable solutions such as dedicated message‑queue schedulers, Redisson delay queues, or time‑wheel implementations with proper compensation mechanisms.
Message QueueRabbitMQRedis
0 likes · 9 min read

The article evaluates common delayed‑task implementations such as message‑queue scheduling, Redis expiration listening, RabbitMQ dead‑letter queues, time wheels, and Redisson delay queues, highlighting their drawbacks and recommending robust backend approaches for reliable order‑closure processing.
RabbitMQRedissonbackend architecture
0 likes · 9 min read

This article examines why using Redis key‑space expiration listeners, RabbitMQ dead‑letter queues, and in‑memory time wheels are unreliable for precise delayed‑task execution, and recommends more robust solutions such as dedicated message‑queue delay features and Redisson DelayQueue with fallback mechanisms.
RabbitMQRedisRedisson
0 likes · 6 min read

This article evaluates common delayed‑task solutions such as RocketMQ, Pulsar, Redisson DelayQueue, Redis expiration listeners, RabbitMQ dead‑letter queues, and time wheels, highlighting their drawbacks and recommending reliable approaches for accurate order‑closing tasks in e‑commerce systems.
Message QueueRabbitMQRedisson
0 likes · 7 min read

The article compares five delayed‑task implementations—database polling, JDK DelayQueue, Netty time wheel, Redis sorted sets, and RabbitMQ dead‑letter queues—detailing their concepts, Java code examples, advantages, and drawbacks to help developers choose the most suitable approach for order‑timeout scenarios.
DelayQueueJavaQuartz
0 likes · 16 min read

The article compares delayed and scheduled tasks and presents five backend solutions—database polling with Quartz, JDK DelayQueue, Netty's HashedWheelTimer, Redis ZSET, and RabbitMQ delayed queues—detailing their implementations, code examples, outputs, and pros and cons.
BackendDelayQueueJava
0 likes · 19 min read

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

The article explains a typical payment‑timeout scenario and compares four backend solutions—database polling, Java DelayQueue, Redis sorted set, and RabbitMQ TTL with dead‑letter exchange—detailing their mechanisms, advantages, and drawbacks for implementing delayed task cancellation.
BackendJavaQueue
0 likes · 5 min read

This article explains the concept of delayed tasks, compares them with scheduled tasks, and presents five implementation approaches—database polling, JDK DelayQueue, time‑wheel algorithm, Redis sorted sets, and message‑queue based delay queues—detailing their code, advantages, and drawbacks.
DelayQueueJavaMessage Queue
0 likes · 17 min read

This guide explains how to replace inefficient cron polling with RocketMQ's delayed message feature in Spring Boot, covering the core concept, configuration, producer and consumer implementation, testing, and how to customize delay levels for reliable time‑sensitive operations.
JavaRocketMQSpring Boot
0 likes · 8 min read

The article explains the concept of delayed tasks, distinguishes them from scheduled tasks, and evaluates five practical implementation approaches—including database polling, JDK DelayQueue, Netty time‑wheel, Redis sorted‑set and key‑space notifications, and RabbitMQ delayed queues—while providing code samples, performance pros and cons, and deployment considerations.
JavaQuartzRabbitMQ
0 likes · 20 min read

This article examines the concept of delayed tasks versus scheduled tasks, outlines their differences, and presents five practical implementation strategies—including database polling with Quartz, JDK DelayQueue, Netty’s HashedWheelTimer, Redis ZSET and keyspace notifications, and RabbitMQ delayed queues—complete with code samples, performance pros and cons, and scalability considerations.
JavaQuartzRabbitMQ
0 likes · 19 min read

The article explains the concept of delayed tasks versus scheduled tasks and provides five Java‑based solutions—Quartz polling, JDK DelayQueue, Netty HashedWheelTimer, Redis (zset and keyspace notifications), and RabbitMQ delayed queues—detailing their implementations, advantages, and drawbacks.
JavaNettyQuartz
0 likes · 19 min read

This article explains the concept of delayed tasks, compares them with scheduled tasks, and presents five practical implementation strategies—including database polling with Quartz, JDK DelayQueue, Netty's time‑wheel algorithm, Redis sorted‑set and keyspace notifications, and RabbitMQ delayed queues—complete with code samples, advantages, and drawbacks.
JavaRabbitMQRedis
0 likes · 18 min read

The article explains the concept of delayed tasks versus scheduled tasks and presents five practical Java implementations—database polling with Quartz, JDK DelayQueue, Netty's HashedWheelTimer, Redis sorted sets and keyspace notifications, and RabbitMQ delayed queues—detailing their code, advantages, and drawbacks.
DelayQueueJavaQuartz
0 likes · 18 min read

This article explains various approaches to implementing delayed tasks in backend systems, comparing database polling, Java's DelayQueue, Netty's time wheel, Redis sorted sets and keyspace notifications, and RabbitMQ delayed queues, with detailed code examples and analysis of each method's pros and cons.
JavaNettyRabbitMQ
0 likes · 17 min read

This article compares delayed and scheduled tasks, explains their differences, and presents five practical Java implementations—including database polling with Quartz, JDK DelayQueue, Netty's HashedWheelTimer, Redis sorted sets, and RabbitMQ—highlighting each method's advantages and drawbacks.
JavaRabbitMQRedis
0 likes · 19 min read

This article compares delayed tasks with scheduled tasks and presents five practical Java implementations—database polling with Quartz, JDK DelayQueue, Netty's HashedWheelTimer, Redis sorted sets and keyspace notifications, and RabbitMQ delayed queues—detailing their code, advantages, and drawbacks.
DelayQueueJavaQuartz
0 likes · 18 min read

This article compares delayed and scheduled tasks, explains their differences, and presents five practical Java implementations—including Quartz polling, JDK DelayQueue, Netty's HashedWheelTimer, Redis ZSET, and Redis keyspace notifications—along with their advantages, drawbacks, and sample code.
DelayQueueJavaQuartz
0 likes · 18 min read

This article compares several Java-based delayed‑task solutions—including database polling with Quartz, JDK DelayQueue, Netty’s HashedWheelTimer, Redis sorted‑set or key‑space notifications, and RabbitMQ delayed queues—detailing their implementations, advantages, drawbacks, and practical code examples for reliable order‑timeout handling.
JavaQuartzRabbitMQ
0 likes · 19 min read

This article explains the concept of delayed tasks versus scheduled tasks, presents common e‑commerce scenarios, and provides multiple implementation approaches—including JDK DelayQueue, ScheduledExecutorService, database polling, Redis sorted sets, Pulsar, ActiveMQ, and Netty time‑wheel—along with code examples and practical considerations.
Schedulingdelayed tasks
0 likes · 14 min read

The article explains how Kafka implements a hierarchical time‑wheel—a ring of bucket sets with a map for O(1) insertion, removal and expiration—to replace costly per‑tick scans, enabling efficient management of millions of delayed tasks across multiple timeout layers.
BackendKafkadata structure
0 likes · 16 min read
