Tagged articles
524 articles
Page 3 of 6
Su San Talks Tech
Su San Talks Tech
Sep 9, 2023 · Backend Development

How to Sync MySQL Binlog to Elasticsearch Using Canal and RocketMQ

This step‑by‑step tutorial shows how to configure Alibaba's Canal to capture MySQL binlog changes, route them through RocketMQ, and index the data into Elasticsearch, covering cluster mode, MySQL and Elasticsearch setup, RocketMQ topic creation, Canal properties, and consumer implementation.

CanalElasticsearchRocketMQ
0 likes · 8 min read
How to Sync MySQL Binlog to Elasticsearch Using Canal and RocketMQ
Mike Chen's Internet Architecture
Mike Chen's Internet Architecture
Sep 7, 2023 · Backend Development

Comprehensive Overview of Message Queues: Types, Core Concepts, and Comparison of Kafka, RocketMQ, and RabbitMQ

This article provides a detailed overview of popular message queue systems, explains their core concepts such as decoupling and eventual consistency, and compares the advantages and disadvantages of Kafka, RocketMQ, RabbitMQ, and other notable MQ solutions for high‑concurrency scenarios.

Backend ArchitectureDistributed SystemsKafka
0 likes · 7 min read
Comprehensive Overview of Message Queues: Types, Core Concepts, and Comparison of Kafka, RocketMQ, and RabbitMQ
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Sep 4, 2023 · Backend Development

Mastering RocketMQ with Spring Boot: From Simple to Transactional Messaging

This guide demonstrates how to integrate RocketMQ 4.8.0 into a Spring Boot 2.4.12 application, covering dependency setup, configuration, sending and receiving normal, ordered, cluster/broadcast, and transactional messages, complete with code snippets and execution results to help developers implement reliable messaging patterns.

ClusterJavaMessaging
0 likes · 9 min read
Mastering RocketMQ with Spring Boot: From Simple to Transactional Messaging
Alibaba Cloud Native
Alibaba Cloud Native
Aug 25, 2023 · Cloud Native

How RocketMQ Guarantees Consistency with Transactions, Ordering, SQL Filters, and Delayed Messages

This article explains RocketMQ's advanced features—transactional messaging, ordered messaging, SQL‑based filtering, delayed messaging, and global high‑availability—detailing their principles, implementation steps, practical demos, and how they solve consistency challenges in large‑scale e‑commerce systems.

RocketMQSQL filteringTransactional Messaging
0 likes · 14 min read
How RocketMQ Guarantees Consistency with Transactions, Ordering, SQL Filters, and Delayed Messages
Sanyou's Java Diary
Sanyou's Java Diary
Aug 17, 2023 · Backend Development

How RocketMQ Achieves High Availability with Master‑Slave Replication

This article explains RocketMQ's master‑slave replication mechanism, comparing synchronous and asynchronous modes, detailing metadata and message data copying processes, and showing how synchronous guarantees are implemented using CompletableFuture to ensure high availability.

Asynchronous ReplicationBackend MessagingRocketMQ
0 likes · 9 min read
How RocketMQ Achieves High Availability with Master‑Slave Replication
Su San Talks Tech
Su San Talks Tech
Jul 21, 2023 · Backend Development

Mastering RocketMQ Transaction Messages: Theory, Flow, and Real‑World Example

This article explains RocketMQ transaction messages by covering their use cases, underlying mechanisms, and a step‑by‑step implementation that demonstrates how to ensure eventual consistency between message production and local database transactions in distributed Java back‑end systems.

Backend DevelopmentDistributed SystemsJava
0 likes · 8 min read
Mastering RocketMQ Transaction Messages: Theory, Flow, and Real‑World Example
Sohu Tech Products
Sohu Tech Products
Jul 19, 2023 · Backend Development

Understanding RocketMQ Consumption Logic in Version 4.9.x

This article provides a comprehensive walkthrough of RocketMQ 4.9.x consumption architecture, covering the four core roles, publish‑subscribe model, storage structures, load‑balancing, long‑polling, concurrent and ordered consumption flows, progress persistence, and retry mechanisms, with illustrative diagrams and code snippets.

ConsumerDistributed SystemsMessage Queue
0 likes · 28 min read
Understanding RocketMQ Consumption Logic in Version 4.9.x
Su San Talks Tech
Su San Talks Tech
Jul 18, 2023 · Backend Development

Why Did My RocketMQ Consumer Stumble? The Hidden ClientId Bug in Docker Host Mode

After a massive message backlog in RocketMQ, the author discovered that identical clientIds generated by Docker containers using host network mode caused broker load‑balancing errors, leading to slow consumption; the article explains the root cause, code analysis, and how setting a unique clientId resolves the issue.

Backend DevelopmentClientIdDocker
0 likes · 19 min read
Why Did My RocketMQ Consumer Stumble? The Hidden ClientId Bug in Docker Host Mode
21CTO
21CTO
Jul 15, 2023 · Backend Development

From ActiveMQ to Pulsar: The Evolution of Message Queues Explained

This article traces the development of message queues from early decoupling solutions like ActiveMQ and RabbitMQ, through high‑throughput designs such as Kafka and RocketMQ, to modern platform‑centric systems like Pulsar, while detailing core concepts, architecture diagrams, storage mechanisms and trade‑offs.

BackendKafkaMessage Queue
0 likes · 15 min read
From ActiveMQ to Pulsar: The Evolution of Message Queues Explained
Tencent Cloud Developer
Tencent Cloud Developer
Jul 12, 2023 · Backend Development

Evolution and Architecture of Message Queues: Kafka, RocketMQ, and Pulsar

The article traces two decades of message‑queue evolution—from early decoupling tools like ActiveMQ, through Kafka’s high‑throughput log model, to Pulsar’s layered, cloud‑native architecture—explaining core concepts, storage designs, and trade‑offs that guide choosing the right MQ for modern workloads.

KafkaPulsarRocketMQ
0 likes · 16 min read
Evolution and Architecture of Message Queues: Kafka, RocketMQ, and Pulsar
Code Ape Tech Column
Code Ape Tech Column
Jul 6, 2023 · Backend Development

How to Effectively Read Open‑Source Java Project Source Code

This guide explains why and how to read open‑source Java code, covering essential JDK knowledge, design patterns, official documentation, module structure, demo‑first approaches, purposeful reading strategies, class‑name clues, class hierarchy analysis, commenting practices, and leveraging related resources.

Backend DevelopmentDesign PatternsJava
0 likes · 13 min read
How to Effectively Read Open‑Source Java Project Source Code
政采云技术
政采云技术
Jun 29, 2023 · Backend Development

Understanding RocketMQ: Architecture, Modules, and Deployment Essentials

This article provides a comprehensive overview of RocketMQ, covering its origin, core concepts, component roles, cluster deployment architecture, workflow, feature details, persistence mechanisms, and cleanup policies, offering developers a solid foundation for using this high‑performance messaging middleware.

ApacheBackend DevelopmentDistributed Systems
0 likes · 18 min read
Understanding RocketMQ: Architecture, Modules, and Deployment Essentials
Alibaba Cloud Native
Alibaba Cloud Native
Jun 26, 2023 · Cloud Native

How RocketMQ Evolved Its High‑Availability Architecture for Cloud‑Native Deployments

This article examines RocketMQ's high‑availability evolution—from early master‑slave and Raft‑based designs to the v5 DLedger fusion model—detailing replica groups, data sharding, election mechanisms, replication strategies, metric trade‑offs, log‑divergence handling, controller roles, heartbeat optimizations, and comparisons with Kafka and Pulsar, all illustrated with diagrams and code snippets.

Cloud NativeDLedgerDistributed Systems
0 likes · 36 min read
How RocketMQ Evolved Its High‑Availability Architecture for Cloud‑Native Deployments
Sanyou's Java Diary
Sanyou's Java Diary
Jun 12, 2023 · Backend Development

Master RocketMQ 4.9.x Consumption: Architecture, Load Balancing, and Retry Strategies

This article walks through RocketMQ 4.9.x’s consumption architecture, explaining the roles of NameServer, Broker, Producer and Consumer, the publish‑subscribe model, storage structures, load‑balancing algorithms, long‑polling, concurrent and ordered consumption, progress persistence, and the built‑in retry mechanism.

ConsumerDistributed SystemsMessage Queue
0 likes · 28 min read
Master RocketMQ 4.9.x Consumption: Architecture, Load Balancing, and Retry Strategies
Architect's Guide
Architect's Guide
Jun 12, 2023 · Backend Development

Design and Implementation of a Payment Center System: Flow, Challenges, and Design Patterns

This article explains the architecture of a payment center that unifies internal payment services and external third‑party integrations, details the three‑step payment flow, discusses common issues such as order timeout and result reliability, and demonstrates how template‑method and strategy patterns together with RocketMQ delay queues solve these problems in a SpringBoot backend.

RocketMQdesign-patternspayment
0 likes · 15 min read
Design and Implementation of a Payment Center System: Flow, Challenges, and Design Patterns
Code Ape Tech Column
Code Ape Tech Column
Jun 8, 2023 · Backend Development

RocketMQ Consumer Scaling and MessageQueue Allocation Strategies Explained

The article explains when adding consumers can reduce RocketMQ backlog, the reasons for delayed message pulling, handling slow external services, and details six different MessageQueue allocation strategies—including average, round‑robin, custom, machine‑room, nearby, and consistent‑hash—accompanied by Java code examples.

BackendJavaMessageQueue
0 likes · 10 min read
RocketMQ Consumer Scaling and MessageQueue Allocation Strategies Explained
Wukong Talks Architecture
Wukong Talks Architecture
Apr 15, 2023 · Backend Development

Design and Implementation of RocketMQ Tiered Storage

The article explains how RocketMQ 5.1.0 introduces a tiered storage module that offloads messages to cheaper media, describes its design, architecture layers, quick‑start configuration, upload and read mechanisms, prefetch cache, fault recovery, current development plans, and remaining challenges.

Message QueueRocketMQtiered storage
0 likes · 13 min read
Design and Implementation of RocketMQ Tiered Storage
Tencent Cloud Middleware
Tencent Cloud Middleware
Apr 13, 2023 · Fundamentals

RocketMQ, Kafka, Pulsar: Core Concepts, Architecture & Transactional Messaging

This article provides a comprehensive overview of major message‑queue middleware—including RocketMQ, Kafka, Pulsar, and RabbitMQ—covering fundamental concepts such as tags, groups, offsets, architectural components, storage mechanisms, transaction workflows, rebalance strategies, and recent developments, while comparing their features and performance characteristics.

KafkaMessage QueuePulsar
0 likes · 19 min read
RocketMQ, Kafka, Pulsar: Core Concepts, Architecture & Transactional Messaging
Code Ape Tech Column
Code Ape Tech Column
Apr 11, 2023 · Backend Development

Comprehensive Comparison of Kafka, RabbitMQ, ZeroMQ, RocketMQ, and ActiveMQ

This article provides a detailed side‑by‑side comparison of five popular message‑queue systems—Kafka, RabbitMQ, ZeroMQ, RocketMQ, and ActiveMQ—covering documentation, programming languages, supported protocols, storage, transactions, load balancing, clustering, management UI, availability, duplication handling, throughput, subscription models, ordering, acknowledgments, replay, retry, concurrency, and includes promotional information from the author.

ActiveMQComparisonKafka
0 likes · 24 min read
Comprehensive Comparison of Kafka, RabbitMQ, ZeroMQ, RocketMQ, and ActiveMQ
Sanyou's Java Diary
Sanyou's Java Diary
Apr 3, 2023 · Backend Development

How RocketMQ’s Storage Model Powers Fast Message Retrieval

This article breaks down RocketMQ’s storage architecture, explaining how its commitlog, consumequeue, and index files work together to ensure reliable persistence, quick offset-based lookups, and efficient message consumption in a publish‑subscribe model.

CommitLogConsumeQueueIndexFile
0 likes · 9 min read
How RocketMQ’s Storage Model Powers Fast Message Retrieval
JD Retail Technology
JD Retail Technology
Apr 3, 2023 · Fundamentals

How to Master Clean Code: From Learning to Refactoring with Real Examples

This article explores a systematic approach to becoming a better programmer, covering learning mindset, selecting role models, applying knowledge, coding principles, performance considerations, and refactoring techniques, illustrated with a RocketMQ file‑prewarm case study and practical guidelines for writing maintainable, high‑quality code.

RocketMQSoftware Engineeringclean code
0 likes · 17 min read
How to Master Clean Code: From Learning to Refactoring with Real Examples
Alibaba Cloud Native
Alibaba Cloud Native
Mar 28, 2023 · Cloud Native

How RocketMQ 5.0 Enables Distributed End‑to‑End Tracing with OpenTelemetry

This article explains how Apache RocketMQ 5.0 integrates standardized distributed tracing via OpenTelemetry, detailing the underlying span model, semantic conventions for messaging, automatic and manual instrumentation options, configuration steps, a complete example workflow, and how to export traces to Alibaba Cloud SLS and ARMS for observability.

Cloud NativeDistributed TracingMessaging
0 likes · 17 min read
How RocketMQ 5.0 Enables Distributed End‑to‑End Tracing with OpenTelemetry
Su San Talks Tech
Su San Talks Tech
Mar 22, 2023 · Backend Development

Why Does RocketMQ Duplicate Message Consumption? Root Causes Explained

This article examines the various reasons why RocketMQ can deliver the same message to consumers multiple times, covering send‑retry mechanisms, consumer‑side exceptions, offset commit and persistence failures, master‑slave synchronization issues, rebalance events, and long‑processing cleanup, and offers guidance on designing idempotent solutions.

Duplicate ConsumptionMessage QueueOffset Management
0 likes · 15 min read
Why Does RocketMQ Duplicate Message Consumption? Root Causes Explained
Programmer DD
Programmer DD
Mar 17, 2023 · Backend Development

Master RocketMQ: Transaction, Ordered, Filtered & Delayed Messaging in Java & Spring

This tutorial walks through practical implementations of RocketMQ transaction, ordered, filtered, and delayed messages using native Java code and Spring Boot, explaining the underlying concepts, showing complete code examples, and highlighting how to configure producers, consumers, and listeners for reliable distributed messaging.

Delayed MessagingJavaMessage Filtering
0 likes · 16 min read
Master RocketMQ: Transaction, Ordered, Filtered & Delayed Messaging in Java & Spring
Code Ape Tech Column
Code Ape Tech Column
Mar 6, 2023 · Backend Development

Thread Creation Techniques in RocketMQ Source Code

This article explains how RocketMQ creates and manages threads, covering single‑thread creation via Runnable and Thread inheritance, the ServiceThread abstract class, ThreadPoolExecutor configuration, custom thread factories, and the importance of descriptive thread names for debugging.

BackendJavaMessaging
0 likes · 9 min read
Thread Creation Techniques in RocketMQ Source Code
Su San Talks Tech
Su San Talks Tech
Feb 15, 2023 · Backend Development

Master Open‑Source Code Reading: 18 Proven Strategies for Java Developers

This guide explains why reading open‑source code matters—from interview prep to design mastery—and offers 18 practical steps, including mastering the JDK, understanding design patterns, using official docs, exploring module structures, starting with demos, and adopting purposeful, efficient reading habits.

JavaRocketMQSoftware Engineering
0 likes · 14 min read
Master Open‑Source Code Reading: 18 Proven Strategies for Java Developers
ITPUB
ITPUB
Feb 12, 2023 · Backend Development

Uncovering RocketMQ Sync Lag: Why Messages Reach the Broker but Not the Consumer

A detailed investigation reveals that RocketMQ can report successful writes to the broker while consumers see minutes‑long delays because the transient store pool and commit‑log forwarding mechanisms delay the transfer of messages from the broker’s memory to the consumer queue.

JavaLag DiagnosisMessage Queue
0 likes · 10 min read
Uncovering RocketMQ Sync Lag: Why Messages Reach the Broker but Not the Consumer
Sanyou's Java Diary
Sanyou's Java Diary
Feb 6, 2023 · Backend Development

Master Reading Open‑Source Code: 18 Proven Strategies for Java Projects

This guide explains why reading source code matters and presents 18 practical techniques—covering JDK fundamentals, design patterns, official documentation, module analysis, demo‑first approach, purposeful reading, and effective note‑taking—to help developers confidently explore Java open‑source projects like RocketMQ.

BackendDesign PatternsRocketMQ
0 likes · 15 min read
Master Reading Open‑Source Code: 18 Proven Strategies for Java Projects
Architect
Architect
Feb 4, 2023 · Backend Development

Understanding the Consumer Startup Process in RocketMQ (Pull Mode)

This article explains RocketMQ's consumer startup process in pull mode, detailing the underlying push‑like implementation, configuration validation, instance naming, client initialization, load‑balancing, wrapper handling, offset storage, scheduled tasks, and trace dispatching, accompanied by Java code examples.

ConsumerJavaMessage Queue
0 likes · 11 min read
Understanding the Consumer Startup Process in RocketMQ (Pull Mode)
Sohu Tech Products
Sohu Tech Products
Jan 25, 2023 · Backend Development

Standardizing and Automating the Review Middleware: Protocols, Processes, and Implementation

This article describes how a review middle‑platform for a video service standardizes communication protocols with RocketMQ, defines unified data processing flows, and implements an automated business‑access detector with Java code to reduce duplication and improve development efficiency.

Backend ArchitectureRocketMQreview platform
0 likes · 15 min read
Standardizing and Automating the Review Middleware: Protocols, Processes, and Implementation
Xianyu Technology
Xianyu Technology
Jan 18, 2023 · Backend Development

Java Ternary Operator NPE, Message Storm, and Network Latency Cases

The article uses a safety‑principle analogy to introduce three real‑world backend incidents—a Java ternary‑operator NullPointerException caused by unintended unboxing, a RocketMQ message‑storm triggered by swapped parameters, and a network‑path latency spike—showing how language semantics, messaging contracts, and infrastructure topology each can create production bugs.

DistributedSystemsJavaNPE
0 likes · 10 min read
Java Ternary Operator NPE, Message Storm, and Network Latency Cases
vivo Internet Technology
vivo Internet Technology
Jan 11, 2023 · Cloud Native

Practices of Distributed Message Middleware at vivo: From RocketMQ to Kafka and Pulsar

vivo’s Internet Storage team details how it operates RocketMQ for low‑latency online services and Kafka for massive big‑data pipelines, outlines resource isolation, traffic balancing, intelligent throttling, and governance practices, and describes its migration from RabbitMQ and planned shift from Kafka to cloud‑native Pulsar.

Big DataCloud NativeKafka
0 likes · 22 min read
Practices of Distributed Message Middleware at vivo: From RocketMQ to Kafka and Pulsar
Architecture & Thinking
Architecture & Thinking
Dec 28, 2022 · Backend Development

Ensuring Idempotency in Message Queues: Strategies for Reliable Messaging

This article explains the concept of idempotency, illustrates why repeated operations must yield identical results, and details how RocketMQ’s components—NameServer, Broker, Producer, and Consumer—can be designed with unique message IDs and acknowledgment mechanisms to achieve reliable, duplicate‑free messaging in backend systems.

BackendDistributed SystemsIdempotency
0 likes · 10 min read
Ensuring Idempotency in Message Queues: Strategies for Reliable Messaging
Alibaba Cloud Native
Alibaba Cloud Native
Dec 27, 2022 · Cloud Native

Contribute to Apache RocketMQ 5.0 SDK: New Cloud‑Native Features & How‑to Guide

Apache RocketMQ 5.0 introduces a stateless proxy, gRPC‑based multi‑language SDK with immutable APIs, enhanced error handling, SimpleConsumer, and pop consumption, and the article outlines the technical improvements, roadmap, and step‑by‑step guide for developers to set up the environment, understand the new protocols, and contribute language client implementations.

Cloud NativeMessage QueueRocketMQ
0 likes · 8 min read
Contribute to Apache RocketMQ 5.0 SDK: New Cloud‑Native Features & How‑to Guide
Code Ape Tech Column
Code Ape Tech Column
Dec 20, 2022 · Backend Development

Building a High‑Availability RocketMQ Cluster (Version 4.9.4)

This tutorial explains why message queues are essential, compares popular MQ products, details RocketMQ's core components, and provides step‑by‑step instructions—including environment setup, broker configuration, firewall rules, and monitoring—to deploy a fault‑tolerant RocketMQ cluster on CentOS 7.

BackendClusterMessage Queue
0 likes · 23 min read
Building a High‑Availability RocketMQ Cluster (Version 4.9.4)
Laravel Tech Community
Laravel Tech Community
Dec 19, 2022 · Cloud Native

Understanding RocketMQ Load Balancing Mechanism and Best Practices

This article explains RocketMQ's load balancing process, including when rebalancing occurs, the impact on message consumption, common strategies such as average allocation and consistent hashing, and practical recommendations like minimizing client churn and choosing appropriate strategies for cloud‑native deployments.

ConsumerMessage QueueRocketMQ
0 likes · 8 min read
Understanding RocketMQ Load Balancing Mechanism and Best Practices
Top Architect
Top Architect
Nov 26, 2022 · Backend Development

Comprehensive Overview of RabbitMQ, RocketMQ, and Kafka: Architecture, Features, and Best Practices

This article provides an in-depth comparison of RabbitMQ, RocketMQ, and Kafka, detailing their core components, exchange types, message durability, acknowledgment mechanisms, TTL, dead‑letter queues, load balancing, ordering, transaction handling, high‑availability configurations, and practical solutions for common messaging challenges.

Distributed SystemsKafkaRabbitMQ
0 likes · 33 min read
Comprehensive Overview of RabbitMQ, RocketMQ, and Kafka: Architecture, Features, and Best Practices
Top Architect
Top Architect
Nov 25, 2022 · Backend Development

Comprehensive Guide to RocketMQ Message Types, Production, and Consumption

This article provides an in‑depth tutorial on RocketMQ, covering normal, ordered, delayed, transactional, and batch messages, their production and consumption patterns, retry mechanisms, message filtering, and dead‑letter handling, complete with Java code examples for each scenario.

Backend DevelopmentDistributed SystemsJava
0 likes · 36 min read
Comprehensive Guide to RocketMQ Message Types, Production, and Consumption
Top Architect
Top Architect
Nov 19, 2022 · Backend Development

Implementing Distributed Transactions with RocketMQ and SEATA in a Microservice Architecture

This article explains the concept of distributed transactions, presents typical microservice scenarios that generate them, and demonstrates a complete implementation using RocketMQ transactional messages and SEATA, including database schema, producer and consumer code, transaction listeners, and idempotent consumption handling.

Distributed TransactionsJavaRocketMQ
0 likes · 14 min read
Implementing Distributed Transactions with RocketMQ and SEATA in a Microservice Architecture
Alibaba Cloud Native
Alibaba Cloud Native
Nov 17, 2022 · Cloud Native

How RocketMQ Harnesses Prometheus for Full‑Stack Observability

This article explains how RocketMQ integrates with Prometheus and Grafana to provide comprehensive metrics, tracing, and logging, detailing the exporter architecture, deployment choices, span topology, dashboard examples, and ARMS‑based alerting for cloud‑native message‑queue observability.

ARMSCloud NativeMetrics
0 likes · 14 min read
How RocketMQ Harnesses Prometheus for Full‑Stack Observability
Zhuanzhuan Tech
Zhuanzhuan Tech
Nov 16, 2022 · Backend Development

Design and Implementation of HunterConsumer and HunterProducer Components for RocketMQ Integration

This article explains the background of RocketMQ clusters, demonstrates typical Java consumer and producer usage, and introduces the AOP‑based HunterConsumer and HunterProducer components that simplify lifecycle management, configuration, and code reuse for backend developers working with messaging systems.

Component DesignJavaRocketMQ
0 likes · 15 min read
Design and Implementation of HunterConsumer and HunterProducer Components for RocketMQ Integration
Architect's Guide
Architect's Guide
Nov 15, 2022 · Backend Development

RocketMQ Message Types, Sending Modes, Ordering, Delayed, Transactional, Batch, Filtering, Retry and Dead‑Letter Queues

This article provides a comprehensive overview of RocketMQ messaging concepts—including synchronous, asynchronous and one‑way sending, ordered and delayed messages, transaction handling, batch processing, tag/SQL filtering, retry mechanisms, and dead‑letter queue management—accompanied by Java code examples for each scenario.

Distributed SystemsJavaMessage Queue
0 likes · 36 min read
RocketMQ Message Types, Sending Modes, Ordering, Delayed, Transactional, Batch, Filtering, Retry and Dead‑Letter Queues
Top Architect
Top Architect
Nov 6, 2022 · Backend Development

Implementing Distributed Transactions with RocketMQ Transaction Messages

This article explains the concept of distributed transactions, presents typical micro‑service scenarios that generate them, and demonstrates a complete solution using RocketMQ transaction messages together with SQL table definitions and Java code for producers, transaction listeners, and consumers to achieve eventual consistency.

JavaRocketMQSQL
0 likes · 14 min read
Implementing Distributed Transactions with RocketMQ Transaction Messages
Architecture & Thinking
Architecture & Thinking
Oct 17, 2022 · Backend Development

Understanding RocketMQ’s Network Communication Architecture and Protocol

This article explains RocketMQ’s core components, the rocketmq‑remoting module, its Netty‑based protocol design, message structure, communication flow, and the Reactor multi‑thread model that together ensure high‑performance, reliable messaging in distributed backend systems.

Backend DevelopmentDistributed SystemsMessage Queue
0 likes · 11 min read
Understanding RocketMQ’s Network Communication Architecture and Protocol
dbaplus Community
dbaplus Community
Oct 7, 2022 · Backend Development

How We Replaced RabbitMQ with RocketMQ for a High‑Performance, Highly‑Available Messaging Platform

This article details the challenges of scaling RabbitMQ, the evaluation of RocketMQ versus Pulsar, the design of a new messaging middleware platform with high availability, performance, and rich features, and the step‑by‑step migration strategy that enabled seamless, low‑cost transition for massive business traffic.

MessagingRabbitMQRocketMQ
0 likes · 15 min read
How We Replaced RabbitMQ with RocketMQ for a High‑Performance, Highly‑Available Messaging Platform
Cognitive Technology Team
Cognitive Technology Team
Oct 2, 2022 · Backend Development

Implementation Principles of RocketMQ Scheduled/Delayed Messages and Extending to Arbitrary Time Precision

This article explains how RocketMQ implements scheduled and delayed messages using fixed delay levels, the internal storage flow, code examples for setting delay levels, and advanced techniques such as RocksDB integration to achieve arbitrary time precision for delayed delivery.

Delayed MessageDistributed SchedulingJava
0 likes · 6 min read
Implementation Principles of RocketMQ Scheduled/Delayed Messages and Extending to Arbitrary Time Precision
Alibaba Cloud Native
Alibaba Cloud Native
Sep 29, 2022 · Cloud Native

Why Use RocketMQ Connect for Scalable Data Pipelines?

This article explains the challenges of point‑to‑point data sync, introduces RocketMQ Connect as a cloud‑native solution that decouples upstream and downstream, details its architecture, connectors, REST API, metrics, deployment modes, and provides a step‑by‑step guide to building custom connectors for use cases such as CDC, data lakes, and system migration.

CDCCloud NativeConnector
0 likes · 19 min read
Why Use RocketMQ Connect for Scalable Data Pipelines?
Su San Talks Tech
Su San Talks Tech
Sep 17, 2022 · Fundamentals

Why Does Thread.sleep(0) Prevent GC? Uncovering JVM Safepoint Tricks

This article examines a puzzling 'prevent gc' comment in RocketMQ source, explains how inserting Thread.sleep(0) creates a JVM safepoint to avoid long GC pauses, explores counted vs uncounted loops, and demonstrates practical code modifications to improve performance.

Garbage CollectionJVMJava performance
0 likes · 13 min read
Why Does Thread.sleep(0) Prevent GC? Uncovering JVM Safepoint Tricks
ITPUB
ITPUB
Sep 14, 2022 · Backend Development

Mastering Thread Creation in RocketMQ: From ServiceThread to ThreadPoolExecutor

This article explains how RocketMQ creates and manages threads, covering single‑thread techniques, the ServiceThread abstract class, ThreadPoolExecutor fundamentals, custom thread‑pool wrappers, and the critical role of descriptive thread names for debugging and performance monitoring.

Backend DevelopmentJava concurrencyRocketMQ
0 likes · 8 min read
Mastering Thread Creation in RocketMQ: From ServiceThread to ThreadPoolExecutor
ShiZhen AI
ShiZhen AI
Sep 10, 2022 · Interview Experience

When Does Adding Consumers Reduce RocketMQ Backlog?

The article walks through an interview scenario on RocketMQ, explaining when increasing consumer instances speeds up message consumption, the conditions that cause consumer pull delays, and the six built‑in queue‑allocation strategies with code examples and practical trade‑offs.

AllocationStrategyConsumerScalingLoadBalancing
0 likes · 10 min read
When Does Adding Consumers Reduce RocketMQ Backlog?
macrozheng
macrozheng
Sep 9, 2022 · Fundamentals

Why Does Thread.sleep(0) Appear in RocketMQ? Uncovering the Safepoint Trick

This article examines the puzzling 'prevent gc' comment and Thread.sleep(0) call in RocketMQ’s source, explains how it leverages JVM safepoint mechanics to trigger garbage collection, discusses counted vs uncounted loops, and demonstrates practical code modifications to improve performance.

JavaRocketMQSafepoint
0 likes · 13 min read
Why Does Thread.sleep(0) Appear in RocketMQ? Uncovering the Safepoint Trick
ITPUB
ITPUB
Sep 5, 2022 · Backend Development

How to Choose the Right Message Queue: Kafka, RabbitMQ, RocketMQ, and ActiveMQ Compared

This comprehensive guide explains the core concepts, deployment modes, evaluation criteria, and detailed pros and cons of the four major message‑queue platforms—Kafka, RabbitMQ, RocketMQ, and ActiveMQ—helping engineers make informed decisions for interview preparation and system design.

ActiveMQMessage QueueRabbitMQ
0 likes · 43 min read
How to Choose the Right Message Queue: Kafka, RabbitMQ, RocketMQ, and ActiveMQ Compared
21CTO
21CTO
Aug 23, 2022 · Cloud Native

How RocketMQ Evolved into a Cloud‑Native Super‑Fusion Messaging Platform

This article traces RocketMQ's transformation from a traditional message queue to a cloud‑native, ultra‑fusion platform that integrates messaging, event‑driven architecture, and streaming, highlighting its historical stages, architectural upgrades, multi‑language SDKs, stateless consumption, and future cloud‑native trends.

Cloud NativeDistributed SystemsEvent-Driven Architecture
0 likes · 22 min read
How RocketMQ Evolved into a Cloud‑Native Super‑Fusion Messaging Platform
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
Tencent Cloud Developer
Tencent Cloud Developer
Aug 19, 2022 · Backend Development

Message Queue Basics, Use Cases, and Selection Guide for Kafka, RabbitMQ, Pulsar, and RocketMQ

The article explains fundamental concepts, common use cases, and selection criteria for four popular message‑queue platforms—Kafka, RabbitMQ, Pulsar, and RocketMQ—detailing each system’s architecture, strengths, and drawbacks so readers can match workload, scalability, ordering, latency, and operational needs to the most suitable middleware.

Distributed SystemsKafkaMessage Queue
0 likes · 16 min read
Message Queue Basics, Use Cases, and Selection Guide for Kafka, RabbitMQ, Pulsar, and RocketMQ
High Availability Architecture
High Availability Architecture
Aug 10, 2022 · Backend Development

Design and Migration of a High‑Performance Message Middleware Platform from RabbitMQ to RocketMQ

To address RabbitMQ’s scalability, reliability, and feature limitations, Vivo’s middleware team evaluated RocketMQ and Pulsar, selected RocketMQ, and built a next‑generation message middleware platform with an AMQP‑proxy gateway, metadata services, and high‑availability mechanisms, enabling seamless, high‑throughput migration and richer messaging capabilities.

MessagingRabbitMQRocketMQ
0 likes · 13 min read
Design and Migration of a High‑Performance Message Middleware Platform from RabbitMQ to RocketMQ
Sanyou's Java Diary
Sanyou's Java Diary
Aug 8, 2022 · Backend Development

How RocketMQ Achieves Smart Push Consumption with Long Polling

This article explains RocketMQ's push and pull consumption modes, shows how its pseudo‑push implementation uses long polling to balance real‑time delivery and consumer pressure, and walks through the core source‑code mechanisms that hold and resume pull requests.

BackendRocketMQconsumer pressure
0 likes · 10 min read
How RocketMQ Achieves Smart Push Consumption with Long Polling
Sohu Tech Products
Sohu Tech Products
Aug 3, 2022 · Fundamentals

Common Message Queues: RabbitMQ, RocketMQ, and Kafka – Components, Features, and Best Practices

This article introduces the core concepts, components, exchange types, reliability mechanisms, ordering, delay, transaction, high‑availability, and load‑balancing strategies of three popular message‑queue systems—RabbitMQ, RocketMQ, and Kafka—while also discussing common challenges such as message ordering, delayed consumption, reliability, idempotence, and backlog handling.

Distributed SystemsKafkaMessage Queue
0 likes · 33 min read
Common Message Queues: RabbitMQ, RocketMQ, and Kafka – Components, Features, and Best Practices
Alibaba Cloud Native
Alibaba Cloud Native
Aug 3, 2022 · Cloud Native

How RocketMQ Transactional Messages Ensure Distributed Consistency

This article explains the challenges of maintaining atomicity across multiple downstream services in distributed systems and details how RocketMQ's transactional message feature provides a two‑phase commit mechanism, lifecycle, implementation details, and practical usage to achieve eventual consistency.

Cloud NativeDistributed TransactionsMessage Queue
0 likes · 14 min read
How RocketMQ Transactional Messages Ensure Distributed Consistency
IT Architects Alliance
IT Architects Alliance
Aug 1, 2022 · Backend Development

Overview of RabbitMQ, RocketMQ, and Kafka Components and Mechanisms

This article provides a comprehensive overview of the core components, exchange types, TTL, confirmation mechanisms, dead‑letter queues, and reliability features of RabbitMQ, RocketMQ, and Kafka, along with practical guidance on ordering, delayed consumption, transaction handling, high availability, load balancing, and message deduplication in distributed messaging systems.

KafkaRabbitMQRocketMQ
0 likes · 33 min read
Overview of RabbitMQ, RocketMQ, and Kafka Components and Mechanisms
MaGe Linux Operations
MaGe Linux Operations
Jul 31, 2022 · Backend Development

Mastering Message Queues: Key Concepts of RabbitMQ, RocketMQ, and Kafka

This article provides a comprehensive overview of modern message‑queue systems, detailing RabbitMQ components and exchange types, RocketMQ’s core architecture and high‑availability features, and Kafka’s fundamental concepts, controller mechanisms, and consumer rebalance strategies, while also covering reliability, ordering, and dead‑letter handling techniques.

Distributed SystemsKafkaMessage Queue
0 likes · 31 min read
Mastering Message Queues: Key Concepts of RabbitMQ, RocketMQ, and Kafka
Su San Talks Tech
Su San Talks Tech
Jul 31, 2022 · Fundamentals

Mastering Message Queues: Core Concepts of RabbitMQ, RocketMQ, and Kafka

This article explains the fundamental components and mechanisms of RabbitMQ, RocketMQ, and Kafka—including exchanges, TTL, confirm and return listeners, consumer ACK/NACK, dead‑letter queues, delay and ordered messages, transactional flows, high‑availability setups, load balancing, partitioning, leader election, offset handling, and practical solutions to common messaging challenges.

Distributed SystemsKafkaMessage Queue
0 likes · 31 min read
Mastering Message Queues: Core Concepts of RabbitMQ, RocketMQ, and Kafka
Top Architect
Top Architect
Jul 31, 2022 · Backend Development

Design and Implementation of Delayed Message Queues in Distributed Systems

This article surveys common delayed‑message solutions in distributed asynchronous messaging, evaluates implementations based on external storage, databases, RocksDB, Redis, and open‑source MQs like RocketMQ, Pulsar and QMQ, and discusses their advantages, drawbacks, and practical design considerations.

Delayed MessagingDistributed SystemsPulsar
0 likes · 13 min read
Design and Implementation of Delayed Message Queues in Distributed Systems
Top Architect
Top Architect
Jul 30, 2022 · Backend Development

Comprehensive Overview of RabbitMQ, RocketMQ, and Kafka: Architecture, Components, and Best Practices

This article provides an in‑depth technical guide to three major message‑queue systems—RabbitMQ, RocketMQ, and Kafka—covering their core components, exchange and routing mechanisms, durability features, consumer acknowledgment, dead‑letter handling, load balancing, and practical strategies for reliability, ordering, and scaling in distributed backend applications.

Distributed SystemsMessagingRabbitMQ
0 likes · 29 min read
Comprehensive Overview of RabbitMQ, RocketMQ, and Kafka: Architecture, Components, and Best Practices
ITPUB
ITPUB
Jul 29, 2022 · Operations

Migrating to RocketMQ: Building a High‑Performance Cloud‑Native Messaging Platform

Facing scaling, high‑availability, and feature limitations of RabbitMQ, the vivo middleware team evaluated RocketMQ and Pulsar, chose RocketMQ, and detailed a seamless migration strategy—including a message gateway, metadata mapping, high‑performance push, consumption controls, and operational benefits that boosted TPS and reduced resource usage.

MessagingRabbitMQRocketMQ
0 likes · 14 min read
Migrating to RocketMQ: Building a High‑Performance Cloud‑Native Messaging Platform
AI Illustrated Series
AI Illustrated Series
Jul 28, 2022 · Backend Development

How to Ensure Distributed Transaction Consistency Using Message Queues

This article analyzes the challenges of distributed transactions in multi‑node systems and compares various solutions—including 2PC, 3PC, TCC, Saga, local message tables, and MQ‑based approaches—detailing their mechanisms, trade‑offs, and practical implementations with concrete examples from order and cart services.

2PCDistributed TransactionsKafka
0 likes · 19 min read
How to Ensure Distributed Transaction Consistency Using Message Queues
Architecture Digest
Architecture Digest
Jul 28, 2022 · Backend Development

Design and Smooth Migration of a High‑Availability Message Middleware Platform from RabbitMQ to RocketMQ

This article details the challenges of scaling RabbitMQ, the evaluation of RocketMQ versus Pulsar, the architectural design of a new high‑availability message middleware platform, and the step‑by‑step smooth migration strategy that enables higher throughput, richer features, and lower operational costs.

RabbitMQRocketMQhigh availability
0 likes · 12 min read
Design and Smooth Migration of a High‑Availability Message Middleware Platform from RabbitMQ to RocketMQ
vivo Internet Technology
vivo Internet Technology
Jul 27, 2022 · Operations

Building and Migrating to RocketMQ-based Message Middleware Platform at vivo

vivo’s Internet Middleware Team replaced its RabbitMQ service with a RocketMQ‑based platform, building an AMQP‑Proxy gateway and metadata layer to enable seamless, zero‑downtime migration while achieving over 100,000 TPS, billion‑message capacity, 50% resource savings, and advanced features such as transactions, ordered and delayed messaging, and tracing.

Distributed SystemsMessage MiddlewareRabbitMQ Migration
0 likes · 12 min read
Building and Migrating to RocketMQ-based Message Middleware Platform at vivo
Alibaba Cloud Native
Alibaba Cloud Native
Jul 27, 2022 · Backend Development

Mastering RocketMQ Timed Messages: Precise, Scalable Scheduling for Distributed Systems

This article explains the concept, scenarios, advantages, and implementation details of Apache RocketMQ's timed/delay messages, including the TimerWheel algorithm, service workflow, a financial payment‑timeout use case, and practical steps for creating and consuming timed messages.

Backend DevelopmentDistributed SchedulingMessage Queue
0 likes · 11 min read
Mastering RocketMQ Timed Messages: Precise, Scalable Scheduling for Distributed Systems
Architect's Guide
Architect's Guide
Jul 27, 2022 · Backend Development

Design and Implementation of Delayed Messaging in Distributed Systems

This article surveys common delayed‑message solutions—including database, RocksDB, Redis, and open‑source MQs like RocketMQ, Pulsar, and QMQ—explaining their architectures, advantages, drawbacks, and practical considerations for building reliable distributed asynchronous messaging.

Backend ArchitectureDelayed MessagingRocketMQ
0 likes · 13 min read
Design and Implementation of Delayed Messaging in Distributed Systems
Sanyou's Java Diary
Sanyou's Java Diary
Jul 21, 2022 · Fundamentals

How to Choose the Right Message Queue: Kafka vs RabbitMQ vs RocketMQ

This article explains the fundamentals of message queues, compares Kafka, RabbitMQ, and RocketMQ in terms of architecture, key concepts, advantages, and drawbacks, and provides practical guidance on selecting the most suitable queue for different application scenarios such as high‑throughput logging, financial transactions, or small‑scale services.

KafkaRabbitMQRocketMQ
0 likes · 16 min read
How to Choose the Right Message Queue: Kafka vs RabbitMQ vs RocketMQ
Selected Java Interview Questions
Selected Java Interview Questions
Jul 18, 2022 · Backend Development

Implementing Automatic Order Closure in E‑commerce: Scheduled Tasks, RocketMQ Delay Queue, RabbitMQ DLQ, Time Wheel, and Redis Expiration Listener

The article examines five backend techniques for automatically closing unpaid e‑commerce orders—scheduled tasks, RocketMQ delayed messages, RabbitMQ dead‑letter queues, a time‑wheel algorithm, and Redis key‑expiration listeners—detailing their principles, advantages, drawbacks, and sample Java code implementations.

Message QueueRocketMQTime Wheel
0 likes · 16 min read
Implementing Automatic Order Closure in E‑commerce: Scheduled Tasks, RocketMQ Delay Queue, RabbitMQ DLQ, Time Wheel, and Redis Expiration Listener
Architecture & Thinking
Architecture & Thinking
Jul 14, 2022 · Fundamentals

Understanding Message Queues: Execution Principles and Choosing the Right MQ

This article explains the fundamentals of message middleware, covering its architecture, components, communication models, advantages, common protocols, major open‑source solutions, detailed feature comparisons, and practical guidance for selecting the most suitable message queue based on system scale, business needs, performance, high availability, and operational considerations.

Distributed SystemsKafkaMQ
0 likes · 21 min read
Understanding Message Queues: Execution Principles and Choosing the Right MQ
Alibaba Cloud Native
Alibaba Cloud Native
Jul 7, 2022 · Backend Development

Why RocketMQ’s Ordinary Messages Power Business Integration

This article explains how RocketMQ’s ordinary messages meet the core demands of business integration, detailing their architecture, lifecycle, key features, typical use cases, and practical code examples for sending and consuming messages.

MicroservicesRocketMQbusiness integration
0 likes · 11 min read
Why RocketMQ’s Ordinary Messages Power Business Integration
Selected Java Interview Questions
Selected Java Interview Questions
Jul 7, 2022 · Backend Development

Overview of RabbitMQ, RocketMQ, and Kafka: Components, Mechanisms, and Best Practices

This article provides a comprehensive introduction to three major message‑queue systems—RabbitMQ, RocketMQ, and Kafka—explaining their core components, exchange types, delivery guarantees, confirmation mechanisms, dead‑letter handling, high‑availability designs, load‑balancing strategies, and common troubleshooting techniques.

KafkaRocketMQ
0 likes · 32 min read
Overview of RabbitMQ, RocketMQ, and Kafka: Components, Mechanisms, and Best Practices