Tagged articles
8 articles
Page 1 of 1
Architecture Digest
Architecture Digest
Oct 2, 2025 · Backend Development

How to Reliably Close Unpaid Orders: Proven Backend Strategies

This article examines common pitfalls and compares five backend solutions—database scans, JDK DelayQueue, Redis keyspace notifications, Redis sorted sets, and delayed MQ messages—for reliably handling order timeout in high‑traffic e‑commerce systems, highlighting their advantages, drawbacks, and best‑fit scenarios.

BackendMessage Queueorder timeout
0 likes · 11 min read
How to Reliably Close Unpaid Orders: Proven Backend Strategies
macrozheng
macrozheng
Sep 6, 2025 · Backend Development

11 Proven Strategies to Auto‑Close Expired Orders in High‑Traffic Systems

This article examines eleven practical techniques—from passive checks and scheduled jobs to advanced message‑queue and Redis solutions—for automatically closing expired e‑commerce orders, comparing their advantages, limitations, and ideal deployment scenarios.

Backenddelayed queueorder timeout
0 likes · 17 min read
11 Proven Strategies to Auto‑Close Expired Orders in High‑Traffic Systems
Selected Java Interview Questions
Selected Java Interview Questions
May 19, 2025 · Backend Development

Designing Automatic Order Closure: Comparing DB Polling, Redis Expiration, Redis Zset Delay Queue, and Message Queue Delayed Messages

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
Designing Automatic Order Closure: Comparing DB Polling, Redis Expiration, Redis Zset Delay Queue, and Message Queue Delayed Messages
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.

DelayQueueHashedWheelTimerJava
0 likes · 11 min read
Implementing Automatic Order Cancellation for Timeout Orders in a Monolithic Backend System
Lobster Programming
Lobster Programming
May 17, 2024 · Backend Development

How to Implement Order Timeout Closure in E‑Commerce: 6 Proven Backend Solutions

This article compares six practical backend approaches—JDK DelayQueue, RocketMQ delayed messages, Redis expiration, Redis Zset, a dedicated task center, and passive closure—to automatically close unpaid e‑commerce orders after a configurable timeout, outlining their advantages, drawbacks, and suitable scenarios.

RocketMQdelayed queuee‑commerce
0 likes · 8 min read
How to Implement Order Timeout Closure in E‑Commerce: 6 Proven Backend Solutions
Architect
Architect
Mar 30, 2024 · Backend Development

11 Ways to Auto-Close Expired Orders: From Passive to Distributed Queues

The article systematically compares eleven technical approaches for automatically closing expired e‑commerce orders, detailing each method’s implementation steps, trade‑offs, performance characteristics, and ideal deployment scenarios, and finally ranks them to guide practical selection.

Backend ArchitectureDistributed SchedulingKafka
0 likes · 19 min read
11 Ways to Auto-Close Expired Orders: From Passive to Distributed Queues
21CTO
21CTO
Jun 27, 2023 · Backend Development

Order Timeout Solutions: JDK DelayQueue, RabbitMQ, RocketMQ, Redis & SchedulerX

This article examines various order timeout handling techniques in e‑commerce, detailing JDK’s DelayQueue, RabbitMQ delayed messages, RocketMQ timer‑wheel, Redis expiration listeners, and distributed batch processing with SchedulerX, comparing their advantages, drawbacks, and suitability for different latency and scale requirements.

Distributed SchedulingMessagingRabbitMQ
0 likes · 14 min read
Order Timeout Solutions: JDK DelayQueue, RabbitMQ, RocketMQ, Redis & SchedulerX
Architect
Architect
Jul 3, 2022 · Backend Development

Order Timeout Strategies: Scheduled Tasks, RocketMQ Delay Queue, RabbitMQ Dead‑Letter, Time Wheel, and Redis Expiration

The article compares five practical approaches for automatically closing unpaid orders—scheduled tasks, RocketMQ delayed messages, RabbitMQ dead‑letter queues, a time‑wheel algorithm, and Redis key‑expiration listeners—detailing their principles, advantages, limitations, and providing concrete Java code examples for each method.

RabbitMQRocketMQorder timeout
0 likes · 17 min read
Order Timeout Strategies: Scheduled Tasks, RocketMQ Delay Queue, RabbitMQ Dead‑Letter, Time Wheel, and Redis Expiration