Tagged articles

RocketMQ

571 articles · Page 1 of 6
Xike
Xike
Aug 5, 2026 · Backend Development

How to Automatically Cancel Unpaid Orders When They Timeout

The article explains a reliable, idempotent solution for automatically cancelling orders that remain unpaid after a configured deadline, covering data modeling, state transitions, trigger mechanisms using delayed messages or scans, handling race conditions with payment, and essential monitoring and pitfalls.

Message QueueRocketMQTransaction
0 likes · 17 min read
How to Automatically Cancel Unpaid Orders When They Timeout
Cloud Architecture
Cloud Architecture
Aug 1, 2026 · Operations

From Alert Storm to Sub‑Second Insight: Building a Production‑Grade AIOps Platform with Spring Boot 3.x

This article walks through the step‑by‑step design of a production‑ready AIOps platform that tackles massive alert storms in a large e‑commerce environment by unifying signal ingestion, deduplication, RBAC, outbox‑driven event publishing, and sub‑second WebSocket push, all backed by Spring Boot 3.x, MySQL, Redis and RocketMQ.

AIOpsRocketMQalert management
0 likes · 50 min read
From Alert Storm to Sub‑Second Insight: Building a Production‑Grade AIOps Platform with Spring Boot 3.x
Alibaba Cloud Native
Alibaba Cloud Native
Jul 30, 2026 · Cloud Native

Replication‑Free Failover for RocketMQ: Achieving Second‑Level Takeover Without Data Copy

The ACM FSE‑2026 industry paper introduces a replication‑free failover mechanism for cloud‑native stateful services like Apache RocketMQ, using protocol‑level write isolation and multi‑attach storage to achieve second‑level recovery without extra data copies, while maintaining low cost and near‑native throughput.

Cloud NativeHigh AvailabilityProtocol Fencing
0 likes · 8 min read
Replication‑Free Failover for RocketMQ: Achieving Second‑Level Takeover Without Data Copy
Cloud Architecture
Cloud Architecture
Jul 25, 2026 · Backend Development

From MySQL to 10M QPS: A Full‑Stack Engineering Blueprint for High‑Throughput Transaction Systems

This white‑paper dissects why a monolithic MySQL‑based order service collapses under peak traffic and presents a layered, asynchronous architecture—using Redis for stock pre‑allocation, RocketMQ for transactional messaging, sharding, idempotency, and comprehensive observability—to reliably handle tens of millions of queries per second.

MySQLRedisRocketMQ
0 likes · 34 min read
From MySQL to 10M QPS: A Full‑Stack Engineering Blueprint for High‑Throughput Transaction Systems
Ray's Galactic Tech
Ray's Galactic Tech
Jul 23, 2026 · Backend Development

How to Keep Billions of Order States In Order with RocketMQ’s Ordered Messaging

The article explains why order‑status updates can become out‑of‑order in high‑traffic systems, how RocketMQ’s ordered‑message feature guarantees per‑key sequencing while highlighting its trade‑offs, and provides concrete producer and consumer implementations, failure handling, scaling, and deployment guidelines to ensure reliable, idempotent order processing.

IdempotencyMessage QueueMicroservices
0 likes · 27 min read
How to Keep Billions of Order States In Order with RocketMQ’s Ordered Messaging
Alibaba Cloud Native
Alibaba Cloud Native
Jul 23, 2026 · Backend Development

How an Agent Collaboration Failure Revealed RocketMQ’s AI‑Era Upgrade

The article dissects a multi‑Agent workflow that stalls for minutes, exposing why traditional message queues cannot handle AI‑driven long‑running, stateful sessions and how RocketMQ’s 5.x LiteTopic, event‑driven pull, and Suspend consumption model redesign the communication paradigm for AI workloads.

AICloud NativeEvent-Driven Pull
0 likes · 13 min read
How an Agent Collaboration Failure Revealed RocketMQ’s AI‑Era Upgrade
Tencent Cloud Middleware
Tencent Cloud Middleware
Jul 23, 2026 · Backend Development

How TDMQ RocketMQ Lite Topic Keeps Millions of Channels Lightweight (Part 2)

This article dissects TDMQ RocketMQ's Lite Topic, explaining its two‑level topic model, automatic lifecycle, storage reuse, client‑level subscription management with Ready Event Sets, and the exclusive "latest‑connection‑wins" consumption mode that together enable millions of lightweight channels for AI‑native applications.

AI-native applicationsExclusive ConsumptionLite Topic
0 likes · 11 min read
How TDMQ RocketMQ Lite Topic Keeps Millions of Channels Lightweight (Part 2)
Programmer1970
Programmer1970
Jul 21, 2026 · Backend Development

How to Cut RocketMQ Consumer Latency from 10 s to 500 ms with Five Overlooked Settings

During a traffic peak the order service saw 30‑second consumer latency and a backlog of over 20 000 messages; by adjusting five RocketMQ consumer parameters—pullBatchSize, consumeThreadMin/Max, adjustThreadPoolNumsThreshold, pullTimeoutMillis, socketTimeoutMillis, and consumeMessageBatchMaxSize—the team reduced end‑to‑end latency to 500 ms, raised TPS to over 2500, and cleared the backlog.

ConfigurationRocketMQThread Pool
0 likes · 9 min read
How to Cut RocketMQ Consumer Latency from 10 s to 500 ms with Five Overlooked Settings
Java Backend Technology
Java Backend Technology
Jul 17, 2026 · Backend Development

How RocketMQ 5.5.0 Enables Asynchronous AI Agent Workloads with LiteTopic

The article explains why traditional synchronous calls block AI agents, introduces RocketMQ 5.5.0's LiteTopic designed for AI workloads, and demonstrates with Java code how to build a non‑blocking multi‑agent system, manage distributed session state, and intelligently schedule GPU resources.

AIDistributed Session ManagementLiteTopic
0 likes · 16 min read
How RocketMQ 5.5.0 Enables Asynchronous AI Agent Workloads with LiteTopic
Xike
Xike
Jul 13, 2026 · Backend Development

Getting Started with a Hands‑On Microservices Learning Project

This article introduces a runnable microservices learning project built with three independent Spring Boot applications (gateway, order, stock) and middleware such as Nacos, MySQL, Redis, RocketMQ, and Seata, guiding readers through cloning the repository, starting the environment with Docker Compose, and verifying the end‑to‑end product‑order‑stock flow.

Docker ComposeMicroservicesNacos
0 likes · 12 min read
Getting Started with a Hands‑On Microservices Learning Project
Tencent Cloud Middleware
Tencent Cloud Middleware
Jul 7, 2026 · Cloud Native

Decoding AI Agent Collaboration: RocketMQ Lite Topic Makes Messaging as Easy as Creating a File

The article analyzes the communication challenges of AI‑native applications—async coordination, per‑session isolation, and millions of independent channels—and shows how RocketMQ Lite Topic solves them with lightweight, auto‑reclaimed topics that guarantee strict ordering, fault‑tolerant streaming, and seamless break‑resume handling.

AI-native applicationsLite TopicMessage Queue
0 likes · 15 min read
Decoding AI Agent Collaboration: RocketMQ Lite Topic Makes Messaging as Easy as Creating a File
Su San Talks Tech
Su San Talks Tech
Jul 7, 2026 · Backend Development

How to Choose Among Four Popular Message Queues?

This article compares Kafka, RocketMQ, RabbitMQ, and ActiveMQ, explaining their architectures, core concepts, strengths and weaknesses, and provides practical guidance on selecting the most suitable queue based on throughput, reliability, scalability, and use‑case requirements.

ComparisonKafkaMessage Queue
0 likes · 20 min read
How to Choose Among Four Popular Message Queues?
Tinker Programmer
Tinker Programmer
Jul 1, 2026 · Backend Development

How Domain Events Decouple Communication Between Bounded Contexts

The article analyzes the pitfalls of synchronous calls in a payroll microservice, defines domain events and their naming conventions, compares them with message‑queue messages, and presents two concrete implementations—Spring ApplicationEvent for intra‑process decoupling and RocketMQ with a transactional outbox for cross‑process communication—while also clarifying when event sourcing is appropriate.

DDDDomain EventsMicroservices
0 likes · 15 min read
How Domain Events Decouple Communication Between Bounded Contexts
Su San Talks Tech
Su San Talks Tech
Jul 1, 2026 · Artificial Intelligence

How RocketMQ 5.5.0 Enables AI Workloads with LiteTopic

The article explains why AI tasks suffer from long‑lasting, blocking calls, and shows how Apache RocketMQ 5.5.0’s LiteTopic transforms synchronous multi‑agent workflows into asynchronous, non‑blocking pipelines, boosting throughput, preserving session state, and providing smart GPU scheduling.

AI integrationDistributed Session ManagementLiteTopic
0 likes · 15 min read
How RocketMQ 5.5.0 Enables AI Workloads with LiteTopic
Cloud Architecture
Cloud Architecture
Jun 30, 2026 · Backend Development

RocketMQ Transactional Messaging in Practice: From Half Message to Production‑Grade Consistency

The article analyses why sending a message is easy but guaranteeing end‑to‑end consistency across databases, brokers, networks and services is hard, explains the exact problems RocketMQ transactional messages solve, compares them with Outbox and CDC, and provides a complete production‑grade design, implementation, monitoring and tuning guide.

CDCIdempotencyRocketMQ
0 likes · 44 min read
RocketMQ Transactional Messaging in Practice: From Half Message to Production‑Grade Consistency
Cloud Architecture
Cloud Architecture
Jun 19, 2026 · Backend Development

RabbitMQ vs RocketMQ Delayed Messaging Deep Dive: Core Principles, Architecture Limits, and Production‑Ready Implementation

This article analyses why delayed messaging is a critical system bottleneck, compares RabbitMQ and RocketMQ implementations—including TTL+DLX, delayed‑plugin, fixed‑level and timestamp‑based approaches—provides detailed architectural diagrams, code samples, scaling strategies, operational checklists, and guidance on choosing the right solution for production workloads.

Delayed MessagingMessage QueueRocketMQ
0 likes · 39 min read
RabbitMQ vs RocketMQ Delayed Messaging Deep Dive: Core Principles, Architecture Limits, and Production‑Ready Implementation
Cloud Architecture
Cloud Architecture
Jun 11, 2026 · Backend Development

RocketMQ Storage HA Deep Dive: CommitLog Mechanics to Production Controller Failover

This article analyzes RocketMQ’s storage high‑availability, detailing the CommitLog, ConsumeQueue, flushing and replication mechanisms, comparing traditional master‑slave, DLedger and Controller modes, and provides engineering configurations, code examples, capacity planning, Kubernetes deployment, monitoring and recovery practices for production‑grade fault tolerance.

CommitLogControllerDLedger
0 likes · 42 min read
RocketMQ Storage HA Deep Dive: CommitLog Mechanics to Production Controller Failover
Cloud Architecture
Cloud Architecture
Jun 10, 2026 · Backend Development

How to End Duplicate Consumption in RocketMQ with Idempotence and High‑Concurrency Architecture

The article explains why RocketMQ inevitably delivers duplicate messages under at‑least‑once semantics, analyzes root causes in producer, broker and consumer stages, and presents a production‑grade idempotent solution that combines business keys, Redis caching, Redisson locks, a MySQL idempotent table, AOP interception, and comprehensive monitoring to guarantee exactly‑once business outcomes even under high concurrency and Kubernetes graceful shutdown.

MonitoringRedisRocketMQ
0 likes · 34 min read
How to End Duplicate Consumption in RocketMQ with Idempotence and High‑Concurrency Architecture
Alibaba Cloud Native
Alibaba Cloud Native
Jun 9, 2026 · Cloud Native

Agentic AICon Recap: Agent Infrastructure and AgentOps Insights

The Agentic AICon event gathered over 180 technical professionals to dissect enterprise‑scale agent engineering, presenting the full lifecycle of Agent Infra—including construction, deployment, observability, and intelligent operations—through detailed sessions on HiClaw, AgentRun, AgentLoop, STAROps, and a RocketMQ‑based asynchronous architecture.

AI agentsAgent InfraAgentLoop
0 likes · 6 min read
Agentic AICon Recap: Agent Infrastructure and AgentOps Insights
The Dominant Programmer
The Dominant Programmer
Jun 6, 2026 · Backend Development

Business Trace Logging Design Pattern: From Theory to Practice

The article explains a structured business‑trace logging pattern that records each critical step of a workflow as a node, stores logs in a dedicated MySQL database, aggregates them by a business number, and presents them in a sortable, color‑coded front‑end for both developers and business users.

MySQLRocketMQasynchronous messaging
0 likes · 15 min read
Business Trace Logging Design Pattern: From Theory to Practice
Coder Trainee
Coder Trainee
Jun 6, 2026 · Backend Development

Spring Cloud Message‑Driven Part 5: High‑Availability RocketMQ Deployment & Message Tracing

This tutorial walks through deploying a highly available RocketMQ cluster with Docker Compose, configuring master‑slave brokers, enabling message tracing, integrating Prometheus‑Grafana monitoring, setting up Spring Boot HA properties, applying performance tweaks, validating failover, and troubleshooting common issues.

Docker ComposeGrafanaHigh Availability
0 likes · 16 min read
Spring Cloud Message‑Driven Part 5: High‑Availability RocketMQ Deployment & Message Tracing
Cloud Architecture
Cloud Architecture
Jun 5, 2026 · Backend Development

RocketMQ 4.x Deep Dive: Send Mechanics, Thread Model & High‑Concurrency

This article explains why a RocketMQ producer is more than a simple send API, detailing its role in system throughput, consistency and fault isolation, and walks through sending principles, thread models, high‑concurrency design, retry strategies, back‑pressure mechanisms, outbox integration and production‑grade monitoring.

Message QueueProducerRocketMQ
0 likes · 54 min read
RocketMQ 4.x Deep Dive: Send Mechanics, Thread Model & High‑Concurrency
Coder Trainee
Coder Trainee
Jun 5, 2026 · Backend Development

Implementing Ordered Messages and Dead Letter Queues with Spring Cloud and RocketMQ

This article explains why message ordering is critical for order‑state flows, demonstrates how to use RocketMQ's ordered messaging and dead‑letter queue features in a Spring Cloud project, shows the full project structure, provides runnable code, testing steps, performance numbers, and common pitfalls.

Dead Letter QueueMessage RetryMicroservices
0 likes · 21 min read
Implementing Ordered Messages and Dead Letter Queues with Spring Cloud and RocketMQ
Coder Trainee
Coder Trainee
Jun 3, 2026 · Cloud Native

Unified Messaging with Spring Cloud Stream: One Codebase for Multiple MQs

This article demonstrates how Spring Cloud Stream provides a unified programming model that decouples business logic from the underlying message broker, allowing a single codebase to work with RocketMQ, Kafka, or RabbitMQ by only changing configuration, and walks through project structure, implementation, conditional routing, MQ switching, testing, and common pitfalls.

KafkaMessage-drivenMicroservices
0 likes · 19 min read
Unified Messaging with Spring Cloud Stream: One Codebase for Multiple MQs
Coder Trainee
Coder Trainee
Jun 2, 2026 · Backend Development

How to Use RocketMQ with Spring Cloud Stream: A Beginner’s Guide

This tutorial explains why microservices need a message queue, outlines RocketMQ’s core concepts, shows how to set up RocketMQ with Docker Compose, integrates it into Spring Boot projects with detailed producer and consumer code, provides testing steps, and lists common pitfalls and solutions.

Docker ComposeMicroservicesRocketMQ
0 likes · 15 min read
How to Use RocketMQ with Spring Cloud Stream: A Beginner’s Guide
Programmer1970
Programmer1970
May 27, 2026 · Backend Development

Ultimate Cache Consistency Solution for Billion‑Scale Traffic: Canal + MQ + Local Cache

At billion‑level request rates, the traditional cache‑aside pattern fails, so the article proposes a three‑layer architecture—Canal captures MySQL binlog, an MQ (RocketMQ/Kafka) buffers changes, and a coordinated local cache service updates L1 caches with short TTL, achieving high performance and eventual consistency.

Cache ConsistencyCanalDistributed Architecture
0 likes · 12 min read
Ultimate Cache Consistency Solution for Billion‑Scale Traffic: Canal + MQ + Local Cache
Subtle Storm
Subtle Storm
May 27, 2026 · Cloud Native

Designing High-Concurrency Systems: Lessons from a Sports Venue Management Platform

The article analyzes a real-world sports‑venue management platform, detailing how multi‑level caching, asynchronous processing with RocketMQ, database sharding, service splitting, and Kubernetes auto‑scaling together reduced average response time from 1200 ms to 150 ms, increased throughput eightfold, and achieved 99.95% availability under tens of thousands of QPS.

KubernetesMicroservicesRocketMQ
0 likes · 13 min read
Designing High-Concurrency Systems: Lessons from a Sports Venue Management Platform
Programmer1970
Programmer1970
May 24, 2026 · Operations

Full-Stack Guide to Tracing RocketMQ Message Loss

This guide walks you through the entire lifecycle of a RocketMQ message, identifies where loss can occur, provides step‑by‑step diagnostics using TrackType and timestamps, and offers concrete configuration, command‑line and recovery strategies for producers, brokers and consumers.

BrokerConfigurationMessage Loss
0 likes · 11 min read
Full-Stack Guide to Tracing RocketMQ Message Loss
Architecture & Thinking
Architecture & Thinking
May 20, 2026 · Operations

Six‑Step Emergency Plan to Detect, Recover, and Eliminate Message Backlog

In distributed systems, message‑queue backlogs can cripple core services; this article breaks down a six‑step emergency workflow—from alert detection and throttling to temporary scaling, root‑cause analysis, targeted fixes, and final validation—plus long‑term architectural and monitoring strategies, illustrated with real‑world cases and Java code samples.

BacklogMessage QueueMonitoring
0 likes · 21 min read
Six‑Step Emergency Plan to Detect, Recover, and Eliminate Message Backlog
Su San Talks Tech
Su San Talks Tech
May 19, 2026 · Interview Experience

Designing a Hundred‑Billion‑Scale Message Queue: A ByteDance Interview Walkthrough

This article walks through the interview question of designing a message queue that handles billions of messages daily and peaks at millions of QPS, covering traffic calculations, core roles, storage and throughput techniques, scalability, high availability, observability, framework comparisons, a real‑world case study, and key follow‑up interview topics.

High ThroughputKafkaMessage Queue
0 likes · 12 min read
Designing a Hundred‑Billion‑Scale Message Queue: A ByteDance Interview Walkthrough
samdeepthink
samdeepthink
May 8, 2026 · Backend Development

Understanding RocketMQ’s Three Reliability Checkpoints

The article breaks down RocketMQ’s end‑to‑end reliability design into three checkpoints—producer to broker, broker persistence, and consumer acknowledgment—explaining each mechanism, configuration options, common pitfalls, and practical recommendations for production deployments.

BrokerMessage QueueProducer
0 likes · 16 min read
Understanding RocketMQ’s Three Reliability Checkpoints
Linyb Geek Road
Linyb Geek Road
May 8, 2026 · Backend Development

How RocketMQ Guarantees Strict Message Ordering

The article explains RocketMQ's ordered messaging model, detailing why disorder occurs during production and consumption, and describing the three-phase mechanism—using MessageQueueSelector, sequential storage, and single‑threaded ordered consumption—to ensure that messages are processed in the exact order they were produced.

MessageListenerOrderlyMessageQueueSelectorRocketMQ
0 likes · 7 min read
How RocketMQ Guarantees Strict Message Ordering
Lobster Programming
Lobster Programming
May 6, 2026 · Backend Development

How to Choose the Right MQ: RabbitMQ vs RocketMQ vs Kafka

This article compares RabbitMQ, RocketMQ, and Kafka on throughput, latency, scalability, and reliability, outlining each system's core features and recommending suitable scenarios such as reliable messaging, high‑performance streaming, and large‑scale real‑time data processing.

KafkaMessage QueueRocketMQ
0 likes · 6 min read
How to Choose the Right MQ: RabbitMQ vs RocketMQ vs Kafka
Architecture & Thinking
Architecture & Thinking
Apr 30, 2026 · Cloud Native

How RocketMQ 5.0’s New Proxy Layer Enables Compute‑Storage Separation and Cloud‑Native Scaling

RocketMQ 5.0 replaces the monolithic Broker with a stateless Proxy layer that decouples compute from storage, solves scalability, multi‑protocol and cloud‑native adaptation challenges, and is demonstrated through detailed architecture comparisons, Java code samples, and two real‑world IoT and finance case studies showing significant performance and cost benefits.

Cloud NativeCompute-Storage SeparationMessage Queue
0 likes · 20 min read
How RocketMQ 5.0’s New Proxy Layer Enables Compute‑Storage Separation and Cloud‑Native Scaling
Java Tech Workshop
Java Tech Workshop
Apr 29, 2026 · Backend Development

Mastering SpringBoot Transactional Messaging for Distributed Consistency

This article explains how SpringBoot handles transactional messaging to achieve distributed data consistency, covering the concept of transaction messages, CAP theory, final consistency, and three practical implementations using a local message table, Kafka transactions, and RocketMQ, plus idempotency and compensation strategies.

CAP theoremIdempotencyKafka
0 likes · 17 min read
Mastering SpringBoot Transactional Messaging for Distributed Consistency
Java Tech Workshop
Java Tech Workshop
Apr 28, 2026 · Backend Development

Ensuring Message Order in SpringBoot: Partitioning and Sequential Consumption

This article examines why message ordering is critical in distributed systems, explains how partition mechanisms in Kafka, RocketMQ, and RabbitMQ enable ordered consumption, and provides detailed SpringBoot implementations, best‑practice guidelines, partition‑key design principles, concurrency settings, idempotency, and real‑world case studies to ensure reliable sequential processing.

KafkaMessage OrderingPartitioning
0 likes · 28 min read
Ensuring Message Order in SpringBoot: Partitioning and Sequential Consumption
Java Tech Workshop
Java Tech Workshop
Apr 28, 2026 · Backend Development

Implementing Dead Letter Queues and Compensation Mechanisms in SpringBoot

This article explains how to use dead‑letter queues (DLX) to isolate failed messages in distributed SpringBoot applications, compares RabbitMQ and RocketMQ support, and presents a complete compensation framework with design principles, code examples, best‑practice guidelines, and a real‑world case study showing a 96% reduction in dead‑letter traffic.

Dead Letter QueueMessage RetryRocketMQ
0 likes · 23 min read
Implementing Dead Letter Queues and Compensation Mechanisms in SpringBoot
Java Tech Workshop
Java Tech Workshop
Apr 26, 2026 · Backend Development

Integrating Spring Boot with RocketMQ for Message Production and Consumption

This tutorial explains why RocketMQ is chosen for high‑throughput messaging, outlines its core components and typical scenarios, guides environment setup via Docker or local installation, shows Maven integration, provides Spring Boot configuration, and presents complete producer and consumer code with testing steps, extensions for sync/async messages, and common troubleshooting tips.

DockerMavenMessage Queue
0 likes · 16 min read
Integrating Spring Boot with RocketMQ for Message Production and Consumption
Java Architect Handbook
Java Architect Handbook
Apr 23, 2026 · Interview Experience

Meituan Second Interview: Solving High RocketMQ Consumption Latency in Production

During a Meituan second-round interview, the candidate explains how to diagnose and resolve high RocketMQ consumption latency in production, outlining a three‑step approach—stop the bleeding, recover service, and cure the root cause—through consumer scaling, message forwarding, logic optimization, concurrency tuning, queue expansion, and monitoring.

Consumer LagInterview PreparationMessage Queue
0 likes · 14 min read
Meituan Second Interview: Solving High RocketMQ Consumption Latency in Production
Java Architect Handbook
Java Architect Handbook
Apr 14, 2026 · Backend Development

Why RocketMQ Beats Kafka and RabbitMQ in Java Interviews: 6 Core Advantages

This article breaks down the interview focus points for messaging middleware, explains RocketMQ's "Three High and One Rich" advantages—high throughput, reliability, consistency, and rich features—compares it with Kafka and RabbitMQ, presents six detailed reasons with code samples, a selection decision tree, common interview variants, memory mnemonics, and a concise conclusion for Java developers.

Delayed MessageJava InterviewMessage Queue
0 likes · 15 min read
Why RocketMQ Beats Kafka and RabbitMQ in Java Interviews: 6 Core Advantages
Cloud Architecture
Cloud Architecture
Apr 13, 2026 · Operations

Ultimate Message Middleware Comparison: Choosing Kafka, RabbitMQ or RocketMQ

This article walks through why modern systems need a message broker, presents a four‑layer architectural view, compares Kafka, RabbitMQ and RocketMQ across design, performance, routing and transactional capabilities, and offers concrete scenario recommendations, engineering best‑practices, code samples and monitoring guidelines.

KafkaMessage QueueRocketMQ
0 likes · 33 min read
Ultimate Message Middleware Comparison: Choosing Kafka, RabbitMQ or RocketMQ
Cloud Architecture
Cloud Architecture
Apr 12, 2026 · Backend Development

How to Build an Atomic‑Level RocketMQ Transactional Message Wrapper for Production

This article explains why traditional distributed transactions fail, then details the core principles, state flow, and practical Java/Spring Boot implementation of an atomic‑level RocketMQ transactional message wrapper, covering schema design, idempotency, high‑concurrency handling, monitoring, and deployment for production‑grade microservices.

IdempotencyMicroservicesRocketMQ
0 likes · 39 min read
How to Build an Atomic‑Level RocketMQ Transactional Message Wrapper for Production
Coder Trainee
Coder Trainee
Apr 5, 2026 · Operations

How to Build a RocketMQ Cluster with Dual Master‑Slave Async Replication

This guide walks through setting up a two‑node RocketMQ cluster with dual master‑slave asynchronous replication, covering host role assignment, configuration file edits, binary deployment, memory tuning, and the exact commands to start NameServers, master brokers, and slave brokers.

Cluster SetupMessage QueueRocketMQ
0 likes · 11 min read
How to Build a RocketMQ Cluster with Dual Master‑Slave Async Replication
Alibaba Cloud Observability
Alibaba Cloud Observability
Mar 30, 2026 · Industry Insights

How RocketMQ LiteTopic Redesign Boosts High‑Concurrency AI Voice Interaction

This article analyzes the bottlenecks of real‑time AI voice agents in high‑concurrency scenarios and presents a cloud‑native messaging architecture built on Alibaba Cloud RocketMQ LiteTopic that ensures session stickiness, low latency, automatic channel management, and observable operations for scalable, reliable voice interactions.

LiteTopicMessage ArchitectureRocketMQ
0 likes · 14 min read
How RocketMQ LiteTopic Redesign Boosts High‑Concurrency AI Voice Interaction
Java Web Project
Java Web Project
Mar 29, 2026 · Artificial Intelligence

Why AgentScope Java Is the Enterprise‑Ready AI Agent Framework for Java

AgentScope Java, released by Alibaba's Tongyi Lab, tackles the integration, security, and operational challenges of deploying AI agents in Spring Cloud‑based enterprise systems by introducing a production‑grade ReAct paradigm, real‑time interruption, sandboxing, A2A communication via RocketMQ, and visual debugging tools, all demonstrated with concrete code examples and a detailed feature comparison.

AI agentsAgentScopeReAct
0 likes · 14 min read
Why AgentScope Java Is the Enterprise‑Ready AI Agent Framework for Java
Cloud Architecture
Cloud Architecture
Mar 22, 2026 · Backend Development

Message Queues Aren’t a Silver Bullet: Decoupling, Asynchrony & Peak‑Shaving

The article analyses why message queues are not a cure‑all, using real e‑commerce and finance incidents to dissect the three core benefits—decoupling, asynchronous processing, and peak‑shaving—while exposing production challenges such as loss, duplication, ordering, dead‑letter handling, and end‑to‑end consistency, and offering concrete Java code, benchmark tables and a practical MQ selection guide.

DecouplingKafkaMessage Queue
0 likes · 32 min read
Message Queues Aren’t a Silver Bullet: Decoupling, Asynchrony & Peak‑Shaving
Alibaba Cloud Native
Alibaba Cloud Native
Mar 20, 2026 · Cloud Native

How a Gaming Platform Scaled to Millions with RocketMQ & Kafka: A Cloud‑Native Success Story

Facing explosive growth, the game‑service platform 悠悠有品 rebuilt its architecture on Alibaba Cloud, using RocketMQ for core transaction messaging and Kafka for data synchronization, achieving elastic scaling, high availability, cost reduction, and reliable high‑concurrency processing across its trading and analytics pipelines.

KafkaRocketMQcloud-native
0 likes · 8 min read
How a Gaming Platform Scaled to Millions with RocketMQ & Kafka: A Cloud‑Native Success Story
Alibaba Cloud Developer
Alibaba Cloud Developer
Mar 17, 2026 · Backend Development

How RocketMQ LiteTopic Eliminates AI Inference Queue Bottlenecks with Millisecond‑Level Flow Control

This article explains why traditional message‑queue throttling fails in AI inference workloads, introduces Apache RocketMQ 5.x LiteTopic’s lightweight topic model, and details its four core features—physical isolation, elastic scaling, precise flow control, and consumption suspension—that together provide millisecond‑level real‑time throttling and minute‑level busy‑idle scheduling for personalized traffic management.

AI InferenceFlow ControlLiteTopic
0 likes · 14 min read
How RocketMQ LiteTopic Eliminates AI Inference Queue Bottlenecks with Millisecond‑Level Flow Control
macrozheng
macrozheng
Mar 17, 2026 · Artificial Intelligence

Why AgentScope Java Is the Game‑Changer for Enterprise AI Agents

This article introduces AgentScope Java 1.0, an enterprise‑grade AI agent framework for Java that solves stack fragmentation, security, operations, and multi‑agent collaboration challenges by adopting the ReAct paradigm, offering real‑time interruption, sandbox isolation, RocketMQ‑based A2A communication, visual debugging, and deep Spring Cloud integration.

AI agentsAgentScopeReAct
0 likes · 15 min read
Why AgentScope Java Is the Game‑Changer for Enterprise AI Agents
Alibaba Cloud Native
Alibaba Cloud Native
Mar 16, 2026 · Cloud Native

How RocketMQ LiteTopic Solves AI Inference Queue Bottlenecks with Millisecond‑Level Flow Control

This article explains the unique challenges of using message queues for AI inference workloads, why traditional throttling methods fall short, and how Apache RocketMQ 5.x's LiteTopic introduces lightweight topics, fine‑grained flow control, physical isolation, and consumption suspension to achieve millisecond‑level real‑time throttling and minute‑level busy‑idle scheduling.

Flow ControlLiteTopicMessage Queue
0 likes · 14 min read
How RocketMQ LiteTopic Solves AI Inference Queue Bottlenecks with Millisecond‑Level Flow Control
Java Companion
Java Companion
Mar 12, 2026 · Artificial Intelligence

AgentScope Java: Alibaba’s Enterprise‑Grade AI Agent Framework for Java

AgentScope Java 1.0, open‑sourced by Alibaba, provides a production‑ready AI agent framework built for Java ecosystems, addressing stack fragmentation, security, operations, and multi‑agent collaboration through ReAct reasoning, real‑time interruption, sandboxing, RocketMQ‑based A2A communication, and visual debugging, with detailed integration guides and comparison to LangChain4j and Spring AI.

AI agentsAgentScope JavaEnterprise AI
0 likes · 14 min read
AgentScope Java: Alibaba’s Enterprise‑Grade AI Agent Framework for Java
Alibaba Cloud Native
Alibaba Cloud Native
Feb 25, 2026 · Cloud Native

How a 100M‑MAU Parenting App Scaled with RocketMQ 5.x Serverless for Real‑Time Messaging

The article details how the "Qinbao" parenting app, serving over ten million daily active users and massive photo/video uploads, tackled high‑concurrency writes, instant cross‑device notifications, and distributed transaction consistency by migrating to Alibaba Cloud RocketMQ 5.x Serverless, achieving millisecond latency, elastic scaling, and near‑perfect reliability.

Cloud NativeMobile BackendRocketMQ
0 likes · 9 min read
How a 100M‑MAU Parenting App Scaled with RocketMQ 5.x Serverless for Real‑Time Messaging
Java Architect Handbook
Java Architect Handbook
Feb 24, 2026 · Backend Development

How RocketMQ Guarantees Ordered Message Delivery: Deep Dive and Best Practices

This article explains the interview focus points for RocketMQ ordered messages, details the partition‑ordered model and its two‑step guarantee mechanism, provides in‑depth analysis of producer and consumer processes, includes full Java code examples, and outlines best practices, pitfalls, and common misconceptions.

MessageListenerOrderlyMessageQueueSelectorRocketMQ
0 likes · 10 min read
How RocketMQ Guarantees Ordered Message Delivery: Deep Dive and Best Practices
Java Architect Handbook
Java Architect Handbook
Feb 8, 2026 · Backend Development

How to Resolve RocketMQ Message Backlog: Diagnosis, Immediate Fixes, and Long‑Term Prevention

This article breaks down the interview focus points, core solution framework, underlying RocketMQ mechanisms, step‑by‑step remediation actions, common pitfalls, and a concluding strategy for handling message backlog through emergency scaling, consumer optimization, degradation, dead‑letter handling, and proactive capacity planning.

Message QueueMonitoringOperations
0 likes · 9 min read
How to Resolve RocketMQ Message Backlog: Diagnosis, Immediate Fixes, and Long‑Term Prevention
Java Tech Enthusiast
Java Tech Enthusiast
Jan 24, 2026 · Backend Development

How to Keep Database and Redis Cache Consistent Under High Concurrency

This article examines the common data‑consistency challenges when writing to both a database and a Redis cache, evaluates four write‑order strategies, and presents the most reliable approach—writing to the database first then deleting the cache—along with retry mechanisms using scheduled jobs, message queues, and binlog listeners.

Cache ConsistencyElastic-JobRedis
0 likes · 17 min read
How to Keep Database and Redis Cache Consistent Under High Concurrency
JD Retail Technology
JD Retail Technology
Jan 13, 2026 · Backend Development

Deep Dive into Kafka, RocketMQ, and JMQ Storage Architectures

This article compares the storage models, data organization, indexing, read/write processes, and performance trade‑offs of three major message queues—Kafka, RocketMQ, and JMQ—providing detailed technical insights for architects and engineers making storage‑related design decisions.

JMQKafkaMessage Queue
0 likes · 16 min read
Deep Dive into Kafka, RocketMQ, and JMQ Storage Architectures
Tech Freedom Circle
Tech Freedom Circle
Jan 6, 2026 · Backend Development

Why Choose RocketMQ Over Kafka? The Real Reasons Behind the 90% Mistake

This article dissects a common interview question about Kafka's higher throughput versus RocketMQ's richer features, explains the underlying design philosophies, storage models, I/O paths, scaling limits, real‑world use cases such as transaction, delayed and ordered messages, and provides concrete optimization steps and code samples to help engineers make an informed messaging platform choice.

KafkaMessage QueueRocketMQ
0 likes · 42 min read
Why Choose RocketMQ Over Kafka? The Real Reasons Behind the 90% Mistake
DeWu Technology
DeWu Technology
Dec 29, 2025 · Backend Development

Unveiling RocketMQ: A Deep Dive into Its Architecture and Performance Secrets

This comprehensive guide explores RocketMQ’s four‑component architecture, storage formats, routing mechanisms, write‑and‑read workflows, high‑availability designs, performance optimizations, and a side‑by‑side comparison with Kafka, providing practical insights for building robust distributed messaging systems.

Message QueueRocketMQdistributed systems
0 likes · 28 min read
Unveiling RocketMQ: A Deep Dive into Its Architecture and Performance Secrets
Ray's Galactic Tech
Ray's Galactic Tech
Dec 25, 2025 · Backend Development

Mastering Delayed Messaging: When to Use RabbitMQ, RocketMQ, or Redis

This guide explains why delayed messages are essential for distributed system stability, compares RabbitMQ's TTL+DLX and delayed‑message plugin, details RocketMQ's precise timing and delay‑level features, and offers custom Redis and time‑wheel solutions with practical Java code examples and deployment tips.

Delayed MessagingMessage QueueRedis
0 likes · 8 min read
Mastering Delayed Messaging: When to Use RabbitMQ, RocketMQ, or Redis
Ray's Galactic Tech
Ray's Galactic Tech
Dec 20, 2025 · Operations

How RocketMQ Achieves High‑Availability Storage and Fast Fault Recovery

RocketMQ ensures durable, consistent, and highly available message storage through fixed‑length append‑only files, efficient index rebuilding, checkpoint tracking, and configurable master‑slave replication, offering both synchronous and asynchronous HA modes, detailed recovery steps, performance trade‑offs, and practical operational guidelines for robust fault tolerance.

OperationsRocketMQfault-recovery
0 likes · 10 min read
How RocketMQ Achieves High‑Availability Storage and Fast Fault Recovery
Ray's Galactic Tech
Ray's Galactic Tech
Dec 20, 2025 · Backend Development

Production-Ready Idempotency for RocketMQ Duplicate Consumption (Full Code)

To reliably handle RocketMQ's at-least-once delivery semantics, this guide explains why duplicate consumption is inevitable, outlines three defensive layers—Redis‑based idempotency, database unique constraints, and state‑machine checks—provides production‑grade Java code, and details ACK/retry strategies and monitoring practices for robust systems.

DatabaseIdempotencyRedis
0 likes · 9 min read
Production-Ready Idempotency for RocketMQ Duplicate Consumption (Full Code)
Tech Freedom Circle
Tech Freedom Circle
Dec 17, 2025 · Backend Development

Thread Pool: Shared vs Exclusive – How to Choose the Right Strategy for Critical Java Services

This article dissects the interview question “Should thread pools be shared or exclusive?” by exposing common pitfalls, presenting a systematic analysis of isolation versus reuse, and illustrating best‑practice designs with concrete RocketMQ examples, code snippets, and decision‑making guidelines.

IsolationJava concurrencyRocketMQ
0 likes · 22 min read
Thread Pool: Shared vs Exclusive – How to Choose the Right Strategy for Critical Java Services
Ray's Galactic Tech
Ray's Galactic Tech
Dec 16, 2025 · Backend Development

Mastering RocketMQ 4.x Producer SDK: Configuration, Mechanics, and Best Practices

An in‑depth guide to Apache RocketMQ 4.x producer SDK covers essential and optional configurations, internal startup and sending workflows, transaction and ordered messaging, failure handling, performance tuning, monitoring, and practical code examples to help you build a reliable, high‑throughput messaging system.

Message QueueMonitoringProducer SDK
0 likes · 10 min read
Mastering RocketMQ 4.x Producer SDK: Configuration, Mechanics, and Best Practices
Tencent Cloud Middleware
Tencent Cloud Middleware
Dec 9, 2025 · Cloud Native

How Tencent Cloud’s Virtual Queue Enables Seamless Compatibility for RocketMQ 5.x Remoting Clients

The article explains how RocketMQ 5.x’s storage‑compute decoupling and POP consumption model require a new gRPC client, and how Tencent Cloud’s virtual‑queue solution provides full compatibility for legacy Remoting SDKs by abstracting queues and transparently converting consumption modes, eliminating client‑side rebalance and preserving order guarantees.

Cloud NativeRocketMQVirtual Queue
0 likes · 10 min read
How Tencent Cloud’s Virtual Queue Enables Seamless Compatibility for RocketMQ 5.x Remoting Clients
Ray's Galactic Tech
Ray's Galactic Tech
Nov 17, 2025 · Backend Development

Kafka vs RabbitMQ vs RocketMQ: Which Message Broker Fits Your Use Case?

This article provides an in‑depth, multi‑dimensional comparison of Apache Kafka, RabbitMQ, and Apache RocketMQ—covering design philosophy, performance, reliability, features, ecosystem, operations, and typical scenarios—to help you choose the right message middleware for your architecture.

KafkaRocketMQrabbitmq
0 likes · 6 min read
Kafka vs RabbitMQ vs RocketMQ: Which Message Broker Fits Your Use Case?
Ray's Galactic Tech
Ray's Galactic Tech
Nov 17, 2025 · Backend Development

How to Reach Millisecond Consistency for Million‑Scale Transactions with RocketMQ

This article explains how to use RocketMQ's transactional messages and an atomic‑level wrapper to achieve sub‑second final consistency for million‑scale transaction systems, detailing the two‑phase commit workflow, annotation‑driven implementation, performance optimizations, failure handling, monitoring, and suitable use cases.

RocketMQdistributed transactionsjava
0 likes · 11 min read
How to Reach Millisecond Consistency for Million‑Scale Transactions with RocketMQ
Ray's Galactic Tech
Ray's Galactic Tech
Nov 17, 2025 · Operations

Master RocketMQ 5.x with Docker: From Zero to Production with Proxy

This guide walks you through the complete Docker‑based deployment of RocketMQ 5.x, explaining the new Proxy‑centric architecture, showing Docker Compose and manual run methods, providing full configuration files, startup commands, verification steps, production‑grade optimizations, monitoring setup, and troubleshooting tips.

DockerRocketMQcompose
0 likes · 10 min read
Master RocketMQ 5.x with Docker: From Zero to Production with Proxy
Su San Talks Tech
Su San Talks Tech
Nov 5, 2025 · Backend Development

How to Build a Scalable Asynchronous Excel Export System for Large E‑Commerce

This article explains how a large e‑commerce platform implements a high‑performance, asynchronous Excel export mechanism using annotation‑driven declarative programming, AOP interception, Quartz scheduling, RocketMQ messaging, and OSS storage to handle massive data sets without blocking user requests.

Excel exportQuartzRocketMQ
0 likes · 10 min read
How to Build a Scalable Asynchronous Excel Export System for Large E‑Commerce
Architect Chen
Architect Chen
Nov 4, 2025 · Backend Development

Mastering RocketMQ: Architecture, Workflow, and Real‑World Use Cases

This article provides a comprehensive overview of RocketMQ, covering its core components (Producer, Broker, Consumer, NameServer), detailed architecture diagrams, step‑by‑step message production and consumption processes, and typical scenarios such as asynchronous decoupling, traffic shaping, transactional messaging, and event‑driven logging.

Backend ArchitectureBrokerDistributed Messaging
0 likes · 6 min read
Mastering RocketMQ: Architecture, Workflow, and Real‑World Use Cases
Top Architect
Top Architect
Oct 31, 2025 · Backend Development

Mastering Message Queues: A Deep Dive into RabbitMQ, RocketMQ, and Kafka

This comprehensive guide explains the core components, exchange types, TTL, confirm mechanisms, consumer ACK/NACK, dead‑letter queues, and high‑availability features of RabbitMQ, RocketMQ, and Kafka, while also covering load balancing, ordering, transaction handling, and best practices for reliable message delivery.

KafkaMessage QueueRocketMQ
0 likes · 32 min read
Mastering Message Queues: A Deep Dive into RabbitMQ, RocketMQ, and Kafka
Tech Freedom Circle
Tech Freedom Circle
Oct 29, 2025 · Backend Development

Combining RocketMQ Transaction Messages, Local Message Table, and XXL‑Job for 10‑100k QPS Distributed Transactions

This article presents a detailed design for a high‑concurrency (10‑100k QPS) distributed transaction solution that integrates RocketMQ transactional messages, an eBay‑style local message table, and XXL‑Job reconciliation to achieve eventual consistency while handling failures, retries, and data‑explosion challenges.

CAP theoremLocal Message TableMessage Queue
0 likes · 34 min read
Combining RocketMQ Transaction Messages, Local Message Table, and XXL‑Job for 10‑100k QPS Distributed Transactions
Alibaba Cloud Native
Alibaba Cloud Native
Oct 27, 2025 · Cloud Native

How PalmPay Scaled African Payments with Alibaba Cloud RocketMQ

This article details PalmPay's rapid growth in Africa, the technical challenges it faced with transaction consistency, high‑throughput messaging, and resource elasticity, and how adopting Alibaba Cloud RocketMQ—both standard and Serverless versions—provided a robust, scalable, and cost‑effective cloud‑native solution.

FinTechRocketMQpayment systems
0 likes · 9 min read
How PalmPay Scaled African Payments with Alibaba Cloud RocketMQ
NiuNiu MaTe
NiuNiu MaTe
Oct 22, 2025 · Backend Development

How to Build a Lightning‑Fast, Stable Seckill System That Handles Millions of Requests

Learn how to design a robust, high‑performance seckill architecture that can endure millions of concurrent requests by breaking down business flow, defining precise technical metrics, and implementing a four‑layer system—access, traffic‑shaping, business logic, and data—using CDN, APISIX, Redis, RocketMQ, and MySQL with detailed code examples.

RocketMQSeckillTCC
0 likes · 22 min read
How to Build a Lightning‑Fast, Stable Seckill System That Handles Millions of Requests
Alibaba Middleware
Alibaba Middleware
Sep 26, 2025 · Artificial Intelligence

Alibaba Cloud Launches AI Middleware to Bridge the Final Mile of AI Application Deployment

Alibaba Cloud unveiled a fully open‑source AI middleware suite—including AgentScope‑Java, AI‑MQ (RocketMQ), Higress gateway, Nacos registration/configuration, and AI observability—to enable enterprise‑grade, multi‑Agent AI applications, addressing integration, scalability, and reliability challenges highlighted by recent Gartner forecasts.

AI agentsAI middlewareAgentScope
0 likes · 18 min read
Alibaba Cloud Launches AI Middleware to Bridge the Final Mile of AI Application Deployment
Ray's Galactic Tech
Ray's Galactic Tech
Sep 21, 2025 · Backend Development

How to Build a High‑Availability RocketMQ Cluster: Step‑by‑Step Guide

This guide walks you through designing, preparing the environment, installing, configuring, and validating a production‑grade RocketMQ cluster with multiple masters and slaves, including optional web console setup, one‑click deployment scripts, performance tuning, security hardening, and monitoring recommendations.

Cluster DeploymentLinuxMessage Queue
0 likes · 10 min read
How to Build a High‑Availability RocketMQ Cluster: Step‑by‑Step Guide
Architecture & Thinking
Architecture & Thinking
Sep 8, 2025 · Backend Development

Mastering RocketMQ: 7 Core Techniques for Reliable Messaging

This article walks through seven essential RocketMQ concepts—including message ordering, delayed delivery, accumulation handling, transactional guarantees, retry mechanisms, storage strategies, and filtering—providing code examples, configuration tips, and visual diagrams to help developers build robust distributed messaging systems.

Message QueueRocketMQdistributed systems
0 likes · 13 min read
Mastering RocketMQ: 7 Core Techniques for Reliable Messaging
IT Services Circle
IT Services Circle
Sep 6, 2025 · Backend Development

10 Real‑World Scenarios Where Message Queues Transform Your System

This article explores ten practical use‑cases for message queues—covering system decoupling, asynchronous processing, traffic shaping, data synchronization, log collection, broadcast updates, ordered and delayed messages, retry mechanisms, and transactional messaging—illustrated with Java code examples and architectural diagrams.

KafkaMQMessage Queue
0 likes · 17 min read
10 Real‑World Scenarios Where Message Queues Transform Your System
Cognitive Technology Team
Cognitive Technology Team
Sep 5, 2025 · Backend Development

How RocketMQ and DDMQ Achieve Ordered Message Consumption – Deep Dive with Code

This article explores the sequential consumption mechanisms of RocketMQ and its derivative DDMQ, detailing the underlying source‑code implementation, differences in producer ordering, broker handling, consumer locking, and how DDMQ simplifies ordering with a single‑node proxy, complete with code examples and diagrams.

DDMQOrdered ConsumptionRocketMQ
0 likes · 29 min read
How RocketMQ and DDMQ Achieve Ordered Message Consumption – Deep Dive with Code
Su San Talks Tech
Su San Talks Tech
Sep 1, 2025 · Backend Development

How to Eliminate a 1M‑Message MQ Backlog Without Adding Servers: 5 Proven Strategies

This article explains why message queues can accumulate millions of messages, analyzes root causes such as over‑fast producers and slow consumers, and presents five practical solutions—including consumer code optimization, queue‑strategy tweaks, producer rate limiting, dead‑letter handling, and automated monitoring—to dramatically reduce backlog without costly hardware scaling.

Message QueueRocketMQbackend development
0 likes · 22 min read
How to Eliminate a 1M‑Message MQ Backlog Without Adding Servers: 5 Proven Strategies
Architecture & Thinking
Architecture & Thinking
Aug 26, 2025 · Backend Development

How RocketMQ Achieves Million‑TPS with Sequential Writes and Multi‑Level Indexes

RocketMQ tackles the high‑performance, high‑reliability challenges of distributed messaging by combining sequential disk writes, memory caching, and multi‑level indexing, detailing its storage logic, core structures, zero‑copy techniques, replication modes, static topic scaling, and practical tuning guidelines for optimal throughput.

Message QueueRocketMQstorage architecture
0 likes · 8 min read
How RocketMQ Achieves Million‑TPS with Sequential Writes and Multi‑Level Indexes
Cognitive Technology Team
Cognitive Technology Team
Aug 22, 2025 · Backend Development

Unlocking Ordered Messaging: How RocketMQ and DDMQ Ensure Sequence

This article deeply explores the sequential consumption mechanisms of RocketMQ and its derivative DDMQ, comparing their source‑code implementations, detailing producer ordering, broker locking, consumer locking, and the architectural differences that allow DDMQ to achieve ordered processing with only proxy‑side locks.

DDMQOrdered ConsumptionRocketMQ
0 likes · 30 min read
Unlocking Ordered Messaging: How RocketMQ and DDMQ Ensure Sequence
Didi Tech
Didi Tech
Aug 14, 2025 · Backend Development

How RocketMQ and DDMQ Achieve Ordered Consumption: Deep Source Code Dive

This article deeply explores the ordered consumption mechanisms of RocketMQ and its derivative DDMQ, explaining the implementation differences, source‑code details of sequential sending, broker locking, client‑side processing, and compares the two systems' approaches to guarantee message order.

DDMQMessage QueueOrdered Consumption
0 likes · 30 min read
How RocketMQ and DDMQ Achieve Ordered Consumption: Deep Source Code Dive
Wukong Talks Architecture
Wukong Talks Architecture
Aug 14, 2025 · Backend Development

Understanding RocketMQ Architecture: Components, Protocols, and Storage

This article provides a comprehensive overview of RocketMQ's architecture, detailing its core components, network protocols, storage mechanisms, producer‑consumer workflow, and transactional messaging, while highlighting differences between Remoting and gRPC and explaining key design choices for high performance and reliability.

Message QueueNettyRocketMQ
0 likes · 15 min read
Understanding RocketMQ Architecture: Components, Protocols, and Storage
Sanyou's Java Diary
Sanyou's Java Diary
Jul 17, 2025 · Backend Development

Unlocking RocketMQ 4.x: Deep Dive into Architecture, Protocols, and High‑Performance Messaging

This article provides a comprehensive technical overview of RocketMQ 4.x, covering its core roles, publish‑subscribe model, communication protocol, reactor thread model, storage files, high‑performance read/write techniques, consumption flow, deployment patterns, DLedger Raft integration, transaction and broadcast messaging, ordered message handling, architectural drawbacks, and the new stateless proxy architecture introduced in RocketMQ 5.0.

Message QueueRocketMQTransaction Messaging
0 likes · 22 min read
Unlocking RocketMQ 4.x: Deep Dive into Architecture, Protocols, and High‑Performance Messaging
Tech Freedom Circle
Tech Freedom Circle
Jul 15, 2025 · Databases

One‑Order Four‑Split: Solving MySQL Deadlocks in Million‑Row Imports

During massive daily imports of up to one million reconciliation records, MySQL deadlocks can cripple performance; this article dissects the four classic deadlock conditions, then presents a systematic “One‑Order Four‑Split” strategy—ordered writes, transaction splitting, index management, partitioning, and gap‑lock removal—backed by benchmarks, code samples, and configuration tweaks that cut lock rates by up to 90% and reduce batch times to under ten minutes.

Batch InsertDeadlockMySQL
0 likes · 27 min read
One‑Order Four‑Split: Solving MySQL Deadlocks in Million‑Row Imports
Su San Talks Tech
Su San Talks Tech
Jul 12, 2025 · Backend Development

Unlocking RocketMQ 4.x: Architecture, Protocols, and High‑Performance Messaging

This article provides a comprehensive overview of RocketMQ 4.x, detailing its core architecture—including NameServer, Broker, Producer, and Consumer roles—its publish‑subscribe model, its communication protocols, reactor threading, storage mechanisms, high‑performance read/write strategies, deployment options, transaction handling, broadcast and ordered messaging, and the strengths and limitations of its master‑slave and DLedger designs.

Message QueueRocketMQ
0 likes · 29 min read
Unlocking RocketMQ 4.x: Architecture, Protocols, and High‑Performance Messaging
Architecture & Thinking
Architecture & Thinking
Jun 30, 2025 · Backend Development

Mastering RocketMQ Retry: Producer & Consumer Strategies for Reliable Messaging

This article deeply explores Apache RocketMQ's retry mechanisms, detailing producer and consumer retry strategies, flow control handling, dead‑letter queue management, advanced configurations, best practices, and comparisons with Kafka and RabbitMQ, providing practical code examples and monitoring recommendations for building highly reliable distributed systems.

Dead Letter QueueIdempotencyMessage Queue
0 likes · 8 min read
Mastering RocketMQ Retry: Producer & Consumer Strategies for Reliable Messaging