Tagged articles
36 articles
Page 1 of 1
Java Architect Handbook
Java Architect Handbook
Mar 9, 2026 · Backend Development

How to Auto‑Cancel Unpaid Orders in Spring Boot Within 30 Minutes

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.

Order CancellationSpring Bootdelayed queue
0 likes · 8 min read
How to Auto‑Cancel Unpaid Orders in Spring Boot Within 30 Minutes
Open Source Tech Hub
Open Source Tech Hub
Nov 10, 2025 · Backend Development

Implementing RabbitMQ Delayed Queues with Dead‑Letter Exchanges

This guide explains common use cases for delayed tasks, describes the two RabbitMQ delay‑queue methods (TTL + dead‑letter exchange and the rabbitmq‑delayed‑message‑exchange plugin), and provides step‑by‑step PHP code for configuring dead‑letter exchanges, queues, and timed message processing.

MessagingRabbitMQTTL
0 likes · 10 min read
Implementing RabbitMQ Delayed Queues with Dead‑Letter Exchanges
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
Architect's Guide
Architect's Guide
Jun 22, 2025 · Backend Development

How to Build a Scalable Delayed Queue with Redis and Java

This article explains why traditional polling fails for large‑scale delayed tasks, compares built‑in Java, RocketMQ, and RabbitMQ delay queues, and provides a detailed Redis‑based design with architecture diagrams, message structures, and a 2.0 version that uses real‑time locking for low‑latency delivery.

Distributed SystemsJavadelayed queue
0 likes · 8 min read
How to Build a Scalable Delayed Queue with Redis and Java
Xuanwu Backend Tech Stack
Xuanwu Backend Tech Stack
Apr 15, 2025 · Backend Development

How to Implement Delayed Queues in RabbitMQ: TTL, DLX, and Plugin Methods

This article explains what delayed queues are, details two RabbitMQ implementations using TTL with dead‑letter exchanges and the rabbitmq‑delayed‑message‑exchange plugin, provides full Java configuration and producer/consumer code examples, and outlines common use‑cases such as order timeout and refund processing.

Backend DevelopmentDead Letter QueueJava
0 likes · 13 min read
How to Implement Delayed Queues in RabbitMQ: TTL, DLX, and Plugin Methods
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
Open Source Tech Hub
Open Source Tech Hub
May 6, 2024 · Backend Development

How to Build a Redis-Based Delayed Queue with Lua Scripts

This article explains the concept of delayed queues, compares them with scheduled tasks, outlines common business scenarios, and provides a complete Redis implementation using Sorted Sets, Lua scripts, and PHP code, including producer and consumer examples and performance considerations.

BackendMessage QueuePHP
0 likes · 17 min read
How to Build a Redis-Based Delayed Queue with Lua Scripts
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Sep 30, 2023 · Backend Development

Mastering RabbitMQ Delayed and Priority Queues with Spring Boot

This guide explains how to implement delayed and priority queues in RabbitMQ 3.8 using Spring Boot 2.6, covering dead‑letter exchange configuration, message expiration, priority settings, code examples for sending and consuming messages, and practical considerations such as priority limits and ordering behavior.

JavaMessage QueueRabbitMQ
0 likes · 8 min read
Mastering RabbitMQ Delayed and Priority Queues with Spring Boot
Sanyou's Java Diary
Sanyou's Java Diary
Feb 13, 2023 · Backend Development

Can Redis Replace MQ? Building a Reliable Delayed Queue with Keyspace Events and Redisson

This article compares two Redis‑based delayed‑queue approaches—listening to key‑space expiration events and using Redisson’s built‑in delayed queue—detailing their principles, Spring Boot demos, pitfalls, and why Redisson offers a more reliable solution for distributed applications.

Keyspace NotificationsSpring Bootdelayed queue
0 likes · 18 min read
Can Redis Replace MQ? Building a Reliable Delayed Queue with Keyspace Events and Redisson
Top Architect
Top Architect
Oct 2, 2022 · Backend Development

Implementing Delayed Message Queues with RabbitMQ Plugin in Spring Boot

This article demonstrates how to use RabbitMQ's delayed‑queue plugin together with Spring Boot to create a lazy exchange, configure a durable queue, send messages with a specified delay, and consume them, providing complete Java code examples and explaining why this approach outperforms traditional Redis, database polling, or JVM DelayQueue solutions.

Backend DevelopmentMessage QueueRabbitMQ
0 likes · 9 min read
Implementing Delayed Message Queues with RabbitMQ Plugin in Spring Boot
IT Architects Alliance
IT Architects Alliance
Aug 21, 2022 · Backend Development

How to Build a Scalable Delayed Queue with Redis and Java

This article explains why delayed queues are needed for scenarios like unpaid orders or auto‑generated comments, compares built‑in and third‑party solutions, and provides a detailed design and implementation guide for a Redis‑based delayed‑queue service, including version‑1.0 features, version‑2.0 optimizations, and multi‑node deployment.

Distributed SystemsJavaMessage Queue
0 likes · 9 min read
How to Build a Scalable Delayed Queue with Redis and Java
Top Architect
Top Architect
Aug 20, 2022 · Backend Development

Design and Implementation of a Redis‑Based Delayed Queue Service

This article explains the business scenarios that require delayed processing, compares several delay‑queue solutions such as Java's DelayQueue, RocketMQ and RabbitMQ, and then details a custom Redis‑backed delayed‑queue architecture (1.0 and 2.0 versions) with Zookeeper coordination, pull‑job and worker threads for high‑availability and real‑time message delivery.

JavaMessage QueueZooKeeper
0 likes · 8 min read
Design and Implementation of a Redis‑Based Delayed Queue Service
Architect's Guide
Architect's Guide
Aug 11, 2022 · Backend Development

Design and Implementation of a Redis-Based Delayed Queue Service

The article explains the need for delayed processing in business scenarios, compares various delayed queue solutions such as Java DelayQueue, RocketMQ, and RabbitMQ, and details a Redis-based implementation with message storage, ZSET queues, pull jobs, workers, and Zookeeper coordination for high availability.

Backenddelayed queueredis
0 likes · 6 min read
Design and Implementation of a Redis-Based Delayed Queue Service
Architect
Architect
Apr 17, 2022 · Backend Development

Research on Delayed Queue Technologies and Implementation Approaches

This article surveys various delayed‑queue solutions—including Kafka pause/resume, RocketMQ delay levels, Redis/Redisson zset timers, Youzan's custom design, Netty's HashedWheelTimer, and a Kafka‑based time‑wheel—analyzing their architectures, pros and cons, and offering practical implementation guidance.

MessagingRocketMQdelayed queue
0 likes · 12 min read
Research on Delayed Queue Technologies and Implementation Approaches
Architecture Digest
Architecture Digest
Mar 7, 2022 · Backend Development

Implementing Delayed Message Queues with RabbitMQ Plugin in Spring Boot

This article explains how to replace inefficient traditional delay mechanisms with RabbitMQ's delayed‑queue plugin, showing step‑by‑step configuration, producer and consumer code in Spring Boot, and demonstrates successful delayed message delivery using real‑world examples such as auto‑confirm orders and ticket reservations.

Backend DevelopmentMessage QueueRabbitMQ
0 likes · 8 min read
Implementing Delayed Message Queues with RabbitMQ Plugin in Spring Boot
IT Architects Alliance
IT Architects Alliance
Mar 6, 2022 · Backend Development

How to Implement Delayed Message Delivery with RabbitMQ’s Plugin in Spring Boot

This article explains why traditional delay solutions like Redis expiration, database polling, or JVM DelayQueue are inefficient, then demonstrates step‑by‑step how to configure RabbitMQ’s delayed‑queue plugin, create exchanges, queues, and bindings in Spring Boot, and send and consume delayed messages with code examples.

BackendJavaMessage Queue
0 likes · 9 min read
How to Implement Delayed Message Delivery with RabbitMQ’s Plugin in Spring Boot
IT Services Circle
IT Services Circle
Mar 3, 2022 · Backend Development

Implementing Precise Order Timeout with RabbitMQ Delayed Message Plugin in Spring Boot

This article explains why using scheduled tasks for closing timed‑out orders is problematic, demonstrates how to use RabbitMQ dead‑letter queues and the x‑delay‑message plugin to achieve accurate order timeout handling, and provides complete Spring Boot configuration and code examples with testing and limitations.

BackendMessage SchedulingRabbitMQ
0 likes · 13 min read
Implementing Precise Order Timeout with RabbitMQ Delayed Message Plugin in Spring Boot
Top Architect
Top Architect
Jan 31, 2022 · Backend Development

Delayed Queue Technology Research and Implementation Overview

This article surveys various delayed queue implementations—including Kafka, RocketMQ, Redis (Redisson), and Netty’s HashedWheelTimer—examining their design principles, advantages, drawbacks, and integration strategies, and proposes a unified micro‑service architecture leveraging Kafka topics, Redis ZSETs, and thread‑pool optimizations for reliable message scheduling.

KafkaMicroservicesNetty
0 likes · 15 min read
Delayed Queue Technology Research and Implementation Overview
Architect
Architect
Jan 14, 2022 · Backend Development

Design and Implementation of a Redis-Based Delayed Queue

This article explains the business scenarios that require delayed processing, compares several existing delayed‑queue solutions, and details a Redis‑backed delayed‑queue design—including its data structures, message format, multi‑node deployment, and runtime workflow—providing practical guidance for building scalable backend systems.

Backend ArchitectureDistributed SystemsJava
0 likes · 8 min read
Design and Implementation of a Redis-Based Delayed Queue
Java Interview Crash Guide
Java Interview Crash Guide
Jan 12, 2022 · Backend Development

Designing Scalable Delayed Queues: Kafka, RocketMQ, Redis & More

This article surveys delayed‑queue implementations, comparing Kafka, RocketMQ, and Redis (Redisson) designs, outlining their architectures, pros and cons, integration details, timing‑wheel mechanisms, and practical considerations for building a reliable distributed delayed‑queue service.

Distributed SystemsKafkaTime Wheel
0 likes · 13 min read
Designing Scalable Delayed Queues: Kafka, RocketMQ, Redis & More
IT Architects Alliance
IT Architects Alliance
Dec 23, 2021 · Backend Development

Implementing Delayed Queues with RabbitMQ in Spring Boot

This article explains how to implement scheduled tasks in a Spring Boot application using RabbitMQ delayed queues, detailing the use of dead‑letter exchanges, message TTL settings, queue configuration, and Java code examples for publishing and consuming delayed messages.

Message TTLRabbitMQSpring Boot
0 likes · 9 min read
Implementing Delayed Queues with RabbitMQ in Spring Boot
Java Tech Enthusiast
Java Tech Enthusiast
Oct 19, 2021 · Backend Development

Distributed Transaction Solutions and Implementing Delayed Queues with RabbitMQ in Spring Boot

To handle distributed transactions in micro‑service systems, the article compares 2PC, TCC, maximum‑effort notification and reliable messaging, then shows how Spring Boot can use RabbitMQ delayed queues—leveraging dead‑letter exchanges, TTL and routing—to achieve eventual consistency for order‑payment workflows.

2PCRabbitMQSpring Boot
0 likes · 11 min read
Distributed Transaction Solutions and Implementing Delayed Queues with RabbitMQ in Spring Boot
Top Architect
Top Architect
Sep 14, 2021 · Backend Development

Implementing Delayed Message Delivery with RabbitMQ and Spring Boot

This article explains how to implement delayed message delivery in RabbitMQ using the official delayed‑queue plugin and Spring Boot, compares traditional approaches such as Redis expiration and database polling, and provides complete configuration and code examples for producers and consumers.

Message QueueRabbitMQSpring Boot
0 likes · 8 min read
Implementing Delayed Message Delivery with RabbitMQ and Spring Boot
Top Architect
Top Architect
Mar 16, 2021 · Backend Development

Implementing Delayed Message Queues with RabbitMQ and Spring Boot

This article explains how to implement delayed message delivery in RabbitMQ using the delayed‑message‑exchange plugin and Spring Boot, covering the shortcomings of traditional approaches, configuration of exchanges and queues, sending messages with delay headers, and a test demonstrating a 6‑second delayed receipt.

Backend DevelopmentMessage QueueRabbitMQ
0 likes · 8 min read
Implementing Delayed Message Queues with RabbitMQ and Spring Boot
Architect's Tech Stack
Architect's Tech Stack
Mar 16, 2021 · Backend Development

Implementing RabbitMQ Delayed Queues with the Delayed Message Plugin in Spring Boot

This article explains why traditional approaches like Redis expiration, database polling, or JVM DelayQueue are inefficient for delayed messaging, and demonstrates how to use RabbitMQ's delayed‑message‑exchange plugin with Spring Boot to create, configure, send, and consume delayed messages, including full code examples and a test showing a 6‑second delay.

Message QueueRabbitMQSpring Boot
0 likes · 8 min read
Implementing RabbitMQ Delayed Queues with the Delayed Message Plugin in Spring Boot
JavaEdge
JavaEdge
Nov 15, 2020 · Backend Development

Implementing Delayed Queues in RabbitMQ with TTL and DLX

RabbitMQ lacks native delayed‑queue support, but by combining message TTL with a dead‑letter exchange you can create a 15‑minute delayed processing pipeline for order cancellation, and this article explains the configuration steps and consumer setup needed to achieve it.

BackendDLXMessage Queue
0 likes · 2 min read
Implementing Delayed Queues in RabbitMQ with TTL and DLX
Top Architect
Top Architect
Oct 9, 2020 · Backend Development

Implementing Delayed Queues with Redis and Other Technologies

This article explains how Redis can be used to implement delayed queues, compares its advantages with other solutions such as RabbitMQ, RocketMQ, Kafka, Netty and Java DelayQueue, and provides practical guidance on using sorted sets and timestamps for time‑based task scheduling.

KafkaMessage QueueRabbitMQ
0 likes · 8 min read
Implementing Delayed Queues with Redis and Other Technologies
Java Backend Technology
Java Backend Technology
Oct 8, 2020 · Backend Development

Unlocking Redis: 9 Real‑World Patterns from KV Cache to Bloom Filters

This article walks through nine practical Redis use cases—including basic KV caching, distributed locking, delayed queues, rate limiting, service discovery, bitmap storage, HyperLogLog counting, roaring bitmaps, and Bloom filters—explaining the underlying concepts, configuration tips, and code examples for robust backend development.

BitmapHyperLogLogbloom-filter
0 likes · 20 min read
Unlocking Redis: 9 Real‑World Patterns from KV Cache to Bloom Filters
Open Source Tech Hub
Open Source Tech Hub
Mar 21, 2020 · Backend Development

How to Implement Delayed Queues in RabbitMQ Using Dead‑Letter Exchanges

This guide explains common use cases for delayed tasks, describes two RabbitMQ delayed‑queue implementations—including TTL with dead‑letter exchanges and the rabbitmq‑delayed‑message‑exchange plugin—provides detailed configuration steps, code examples in PHP, and demonstrates how to run and verify the solution.

BackendMessagingdead-letter-exchange
0 likes · 10 min read
How to Implement Delayed Queues in RabbitMQ Using Dead‑Letter Exchanges
System Architect Go
System Architect Go
Mar 5, 2018 · Backend Development

Implementing RPC and Delayed Queues with RabbitMQ

This article explains how to use RabbitMQ to build Remote Procedure Call (RPC) mechanisms and delayed message queues, detailing the required exchanges, correlation IDs, callback queues, and providing practical Node.js code examples for both client and server sides.

BackendMessagingRabbitMQ
0 likes · 4 min read
Implementing RPC and Delayed Queues with RabbitMQ
21CTO
21CTO
Mar 24, 2016 · Backend Development

How to Build a Reliable Java Delayed Queue for Scalable Backend Systems

This article explains the design, architecture, and implementation details of a Java-based delayed queue, covering use cases, core components, message lifecycle, protocol, current topology, shortcomings, and future improvements for reliable backend processing.

Backend ArchitectureDistributed SystemsMessage Queue
0 likes · 10 min read
How to Build a Reliable Java Delayed Queue for Scalable Backend Systems