Tagged articles
order cancellation
15 articles · Page 1 of 1

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

The article dissects a common interview question about automatically canceling unpaid orders after 30 minutes, explains why naïve cron‑based scans are unsuitable for tens of millions of rows, and presents three progressively robust solutions using Redis expiration, Redis ZSet polling, and message‑queue or time‑wheel architectures.
Delayed TaskMessage QueueRedis
0 likes · 10 min read

This article analyzes the challenges of automatically cancelling unpaid orders after 30 minutes in high‑traffic e‑commerce systems and compares three production‑grade approaches—simple scheduled polling, RabbitMQ delayed queues, and a time‑bucket plus MQ strategy—detailing their architectures, code, trade‑offs, and best‑practice recommendations.
Distributed SchedulingJavaRabbitMQ
0 likes · 41 min read

This article explains three practical ways to automatically cancel orders that remain unpaid for 30 minutes in a Spring Boot application, covering a scheduled task, a RabbitMQ delayed queue, and Redis key‑expiration events, with complete code examples and configuration steps.
RedisSpring Bootdelayed queue
0 likes · 8 min read

This guide walks you through three practical Spring Boot solutions—database scheduled scans, message‑queue delayed queues, and Redis key‑expiration notifications—to automatically cancel unpaid orders after 30 minutes, complete with code samples, architecture diagrams, pros and cons, and best‑practice recommendations.
BackendJavaMessage Queue
0 likes · 10 min read

This article explains why orders that remain unpaid for 30 minutes should be automatically cancelled and compares five technical approaches—database polling, JDK Timer, message‑queue delayed queues, distributed schedulers like Quartz, and Redis expiration listeners—detailing their implementation steps, code samples, pros, cons, and suitable scenarios.
Message QueueQuartzSpring
0 likes · 19 min read

This article compares seven practical approaches—DelayQueue, database polling, Redis queues, Redis key expiration callbacks, RabbitMQ delayed messages, scheduled task frameworks, and event‑stream processing—for automatically cancelling unpaid orders, outlining their suitable scenarios, code examples, advantages, disadvantages, and optimization tips.
BackendDelayQueueJava
0 likes · 12 min read

This article examines seven practical approaches—including Java DelayQueue, database polling, Redis queues, key‑expiration callbacks, RabbitMQ delayed messages, scheduled‑task frameworks, and event‑stream processing—to automatically cancel unpaid orders, comparing their scenarios, advantages, drawbacks, and implementation tips for scalable systems.
JavaRabbitMQbackend architecture
0 likes · 15 min read

This article explains how HuoLala leverages large language models, multimodal feature integration, and retrieval‑augmented generation to automatically determine responsibility for order cancellations, improving accuracy, explainability, and driver‑user experience.
AIMultimodal RetrievalRAG
0 likes · 10 min read

This article examines practical strategies for automatically canceling unpaid orders, comparing simple timer‑based polling, cluster‑ready schedulers like Quartz, Elastic‑Job, and XXL‑JOB, as well as delayed‑message approaches using RocketMQ and Redis, and offers best‑practice guidelines for concurrency, monitoring, and fault tolerance.
Distributed SchedulerTask Schedulingbackend architecture
0 likes · 16 min read

This article explains three practical Spring Boot approaches—scheduled tasks, delayed RabbitMQ queues, and Redis key‑expiration events—to automatically cancel orders that remain unpaid for 30 minutes, complete with ready‑to‑use Java code examples.
JavaRabbitMQRedis
0 likes · 6 min read

This article explains three Spring Boot approaches—using @Scheduled tasks, RabbitMQ delayed queues, and Redis key‑expiration events—to automatically cancel orders that remain unpaid for 30 minutes, complete with code samples and configuration guidance.
BackendRabbitMQRedis
0 likes · 8 min read

This article explores three practical approaches for automatically canceling unpaid e‑commerce orders—using scheduled tasks (both local and distributed), implementing passive client‑side cancellation with server checks, and leveraging delayed message queues such as RocketMQ—detailing their advantages, drawbacks, and typical frameworks.
Backenddelayed-messagese-commerce
0 likes · 6 min read

This tutorial walks through installing RabbitMQ, configuring it in a Spring Boot project, defining message models and enums, implementing delayed messaging to automatically cancel unpaid orders, and provides complete Java code, configuration files, testing steps, and useful resources for building a robust backend order system.
Delayed MessagingJavaRabbitMQ
0 likes · 19 min read

This article explains why timed database polling is unsuitable for order expiration, compares passive and active cancellation approaches, and demonstrates how to use Redis pub/sub (with ioredis in Node.js) to proactively cancel unpaid orders while keeping services decoupled.
Backendorder cancellation
0 likes · 4 min read
