Tagged articles
41 articles
Page 1 of 1
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
ITPUB
ITPUB
Feb 11, 2026 · Backend Development

How to Guarantee Zero Message Loss in MQ Systems: A Full‑Lifecycle Design

This guide explains why guaranteeing 100% message reliability in MQ is a critical system‑design interview topic and presents a three‑layer architecture—production, storage, and consumption—detailing ACK settings, local message tables, broker replication, leader election safeguards, manual offset commits, and idempotent processing to prevent any message loss.

AcknowledgmentDistributed SystemsIdempotency
0 likes · 11 min read
How to Guarantee Zero Message Loss in MQ Systems: A Full‑Lifecycle Design
Architecture Digest
Architecture Digest
Sep 23, 2025 · Backend Development

How to Ensure Zero Message Loss in Kafka: Proven Strategies for High‑Reliability Systems

This article explains Kafka's storage architecture, identifies three major message‑loss scenarios across production, storage, and consumption, and provides practical end‑to‑end configurations, detection methods, and business‑level patterns to achieve near‑zero message loss in high‑concurrency distributed systems.

Data ConsistencyDistributed SystemsKafka
0 likes · 13 min read
How to Ensure Zero Message Loss in Kafka: Proven Strategies for High‑Reliability Systems
Mike Chen's Internet Architecture
Mike Chen's Internet Architecture
Sep 12, 2025 · Backend Development

How to Prevent Kafka Message Loss: Producer, Broker, and Consumer Strategies

This guide explains comprehensive Kafka message loss prevention techniques, covering producer configurations like acks=all, retries, idempotence, broker settings such as replication factor and min.insync.replicas, consumer handling with manual offset commits, and full‑stack compensation and retry mechanisms with code examples.

Broker SettingsConsumer OffsetKafka
0 likes · 3 min read
How to Prevent Kafka Message Loss: Producer, Broker, and Consumer Strategies
ITPUB
ITPUB
Jul 28, 2025 · Backend Development

How WeChat Guarantees No Lost Messages: The Secrets of Reliable IM Delivery

This article explains the three types of IM packets—Request, Acknowledge, and Notify—illustrates the basic message flow between client and server, identifies reliability gaps such as lost notifications, and proposes an application‑level solution using acknowledgments, timeout‑driven retransmission, and message deduplication to achieve dependable delivery.

AcknowledgmentBackend ArchitectureIM
0 likes · 8 min read
How WeChat Guarantees No Lost Messages: The Secrets of Reliable IM Delivery
IT Services Circle
IT Services Circle
Sep 24, 2024 · Backend Development

Ensuring Message Reliability in RocketMQ: Producer, Storage, and Consumer Guarantees

This article explains how RocketMQ guarantees message reliability across the production, storage, and consumption stages, covering synchronous, asynchronous, and transactional sending, disk persistence and replication strategies, consumption models (at-least-once, at-most-once, exactly-once), and handling consumer crashes without message loss.

Backend DevelopmentConsumer CrashMessage Queue
0 likes · 6 min read
Ensuring Message Reliability in RocketMQ: Producer, Storage, and Consumer Guarantees
Architect
Architect
Jul 12, 2024 · Backend Development

How to Prevent Message Loss and Duplication in Kafka and RocketMQ

This article analyzes the root causes of message loss and duplication in modern message queues, explains how synchronous and asynchronous sending affect reliability, compares storage strategies like sync‑flush and broker clustering, and offers concrete idempotent handling techniques using database constraints and Redis.

BackendKafkaMessage Queue
0 likes · 8 min read
How to Prevent Message Loss and Duplication in Kafka and RocketMQ
Top Architect
Top Architect
Jun 14, 2024 · Backend Development

Ensuring Reliable Message Delivery with RabbitMQ: Producer Confirmation, Persistence, and Consumer Acknowledgment

To prevent message loss in RabbitMQ systems, this guide explains the three-step message flow, introduces producer confirm mechanisms, demonstrates how to enable persistence for exchanges, queues and messages, outlines a database fallback strategy, and shows how to implement manual consumer acknowledgments for end‑to‑end reliability.

Backend DevelopmentConsumer AcknowledgmentMessage Reliability
0 likes · 12 min read
Ensuring Reliable Message Delivery with RabbitMQ: Producer Confirmation, Persistence, and Consumer Acknowledgment
Su San Talks Tech
Su San Talks Tech
May 9, 2024 · Backend Development

Ensuring No‑Loss and No‑Duplication in RabbitMQ: Proven Strategies

This article explains how to guarantee RabbitMQ message reliability—preventing loss and duplicate consumption—by covering producer‑consumer models, persistence, transaction and confirm mechanisms, consumer acknowledgments, troubleshooting steps, and compensation strategies such as retry queues and idempotent design.

Consumer AcknowledgmentMessage ReliabilityRabbitMQ
0 likes · 14 min read
Ensuring No‑Loss and No‑Duplication in RabbitMQ: Proven Strategies
Architecture & Thinking
Architecture & Thinking
Apr 21, 2024 · Backend Development

How to Ensure Reliability, Ordering, and Security in Billion‑User IM Systems

This article explores the key challenges of building a large‑scale instant‑messaging service—including message reliability, ordering, read‑sync, data security, avalanche effects, and weak‑network handling—and presents practical architectural and algorithmic solutions for each problem.

Backend ArchitectureInstant MessagingMessage Ordering
0 likes · 21 min read
How to Ensure Reliability, Ordering, and Security in Billion‑User IM Systems
MaGe Linux Operations
MaGe Linux Operations
Dec 18, 2023 · Backend Development

How to Prevent Kafka Message Loss in Critical Transaction Systems

This article explains why Kafka can lose messages in production, broker, and consumer stages, analyzes root causes such as asynchronous batch sends, JVM crashes, and network failures, and provides practical solutions including callbacks, retry mechanisms, replication settings, and manual offset commits to ensure reliable delivery.

Backend DevelopmentDistributed SystemsKafka
0 likes · 10 min read
How to Prevent Kafka Message Loss in Critical Transaction Systems
DeWu Technology
DeWu Technology
Oct 16, 2023 · Backend Development

Technical and Design Considerations for Customer Service IM Message Delivery

The article examines the end‑to‑end technical and design challenges of delivering a single customer‑service instant‑message, detailing reliability, ordering, idempotency, performance optimizations such as async handling and binary‑search traversal, security practices, latency reductions via Protocol Buffers, and a roadmap for future enhancements.

Frontend OptimizationIMMessage Reliability
0 likes · 20 min read
Technical and Design Considerations for Customer Service IM Message Delivery
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Aug 30, 2023 · Backend Development

Implementing Max‑Effort Notification with RabbitMQ in Spring Boot

This guide explains how to design a max‑effort notification mechanism for a recharge scenario using Spring Boot 2.4.12 and RabbitMQ 3.7.4, detailing the interaction flow, repeat‑notification strategy, message verification, and provides complete code for both pay‑manager and users‑manager modules, including configuration, entities, services, listeners, and controllers.

Backend DevelopmentMax Effort NotificationMessage Reliability
0 likes · 11 min read
Implementing Max‑Effort Notification with RabbitMQ in Spring Boot
Architect's Guide
Architect's Guide
Jul 22, 2023 · Backend Development

Ensuring Reliable Message Delivery with RabbitMQ: Producer, Persistence, and Consumer Strategies

This article explains how to achieve near‑zero message loss in RabbitMQ by using producer confirm mechanisms, durable exchanges/queues, persistent messages, database‑backed message storage, and manual consumer acknowledgments, providing a complete end‑to‑end reliability solution.

Confirm MechanismConsumer AcknowledgmentJava
0 likes · 9 min read
Ensuring Reliable Message Delivery with RabbitMQ: Producer, Persistence, and Consumer Strategies
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Mar 6, 2023 · Backend Development

Prevent Message Loss in Spring Boot 2.7.9 with RabbitMQ Confirm Callbacks

This guide explains common message loss scenarios in Spring Boot 2.7.9 with RabbitMQ and provides step‑by‑step solutions—including producer confirm callbacks, durable exchanges and queues, manual consumer acknowledgments, and configurable retry mechanisms—to ensure reliable message delivery.

Message ReliabilityMessage RetryProducer Confirm
0 likes · 8 min read
Prevent Message Loss in Spring Boot 2.7.9 with RabbitMQ Confirm Callbacks
DeWu Technology
DeWu Technology
Jul 20, 2022 · Frontend Development

Design and Implementation of a Custom Customer‑Service IM SDK

The article explains why a custom instant‑messaging SDK was built for a customer‑service web client, outlines its three‑layer architecture (WebSocket/gRPC network, RxJS‑driven data‑link, and application logic), and details reliability features such as ACKs, retries, deduplication, and ordering to improve performance, stability, and scalability.

IMMessage ReliabilitySDK
0 likes · 14 min read
Design and Implementation of a Custom Customer‑Service IM SDK
Architecture Digest
Architecture Digest
Jul 1, 2022 · Backend Development

Introduction to Message Queues: Advantages, Disadvantages, and Common Issues

This article explains what a Message Queue (MQ) is, outlines its main benefits such as decoupling, asynchronous processing, peak‑shaving and log handling, discusses drawbacks like reduced availability and added complexity, and presents typical problems with duplicate consumption, message loss, ordering and backlog along with practical mitigation strategies.

DecouplingMQMessage Queue
0 likes · 6 min read
Introduction to Message Queues: Advantages, Disadvantages, and Common Issues
Java High-Performance Architecture
Java High-Performance Architecture
Apr 9, 2022 · Backend Development

How to Achieve Near‑Zero Message Loss in RabbitMQ: Confirm, Persistence, and Manual Ack

This article explains the three stages where RabbitMQ messages can be lost and presents a comprehensive reliability strategy—including producer confirm mode, durable exchanges/queues, message persistence, database‑backed compensation, and manual consumer acknowledgments—to achieve virtually loss‑free message delivery.

Backend DevelopmentConfirm ModeMessage Reliability
0 likes · 9 min read
How to Achieve Near‑Zero Message Loss in RabbitMQ: Confirm, Persistence, and Manual Ack
Architecture Digest
Architecture Digest
Apr 5, 2022 · Backend Development

Ensuring Reliable Message Delivery with RabbitMQ: Producer Confirmations, Persistence, and Consumer Acknowledgments

The article explains how to achieve near‑zero message loss in RabbitMQ by using producer confirm mode, persisting exchanges, queues and messages, storing outbound messages in a database, and switching consumers to manual acknowledgment with proper retry and idempotency handling.

Consumer AckJavaMessage Reliability
0 likes · 8 min read
Ensuring Reliable Message Delivery with RabbitMQ: Producer Confirmations, Persistence, and Consumer Acknowledgments
Java Interview Crash Guide
Java Interview Crash Guide
Mar 17, 2022 · Backend Development

How to Achieve Near‑Zero Message Loss with RocketMQ and RabbitMQ

This article explains how to guarantee almost 100% reliability of messages in distributed systems by examining RocketMQ’s three‑stage reliability model and RabbitMQ’s confirm, persistence, and manual‑ack mechanisms, plus a database‑backed compensation strategy for extreme failure cases.

Message QueueMessage ReliabilityRabbitMQ
0 likes · 11 min read
How to Achieve Near‑Zero Message Loss with RocketMQ and RabbitMQ
JavaEdge
JavaEdge
Dec 24, 2021 · Backend Development

Master RabbitMQ Reliability: ConfirmCallback, TTL, and Dead‑Letter Queues

This article explains RabbitMQ's advanced reliability features, including how to prevent message loss with confirmCallback and returnCallback, configure TTL and dead‑letter queues, and provides practical code samples and interview‑style Q&A for backend developers.

BackendConfirmCallbackDead Letter Queue
0 likes · 10 min read
Master RabbitMQ Reliability: ConfirmCallback, TTL, and Dead‑Letter Queues
Top Architect
Top Architect
Dec 14, 2021 · Backend Development

Ensuring Reliable Message Delivery with RabbitMQ: Confirm Mechanism, Persistence, and Consumer Acknowledgment

This article explains how to achieve high‑reliability message delivery in RabbitMQ by using the confirm publish mechanism, persisting exchanges, queues and messages, storing outbound messages in a database for compensation, and switching consumers to manual acknowledgment to prevent loss in various failure scenarios.

Confirm MechanismConsumer AcknowledgmentJava
0 likes · 9 min read
Ensuring Reliable Message Delivery with RabbitMQ: Confirm Mechanism, Persistence, and Consumer Acknowledgment
Java High-Performance Architecture
Java High-Performance Architecture
Nov 20, 2021 · Backend Development

How to Ensure Zero Message Loss with RabbitMQ: Confirm, Persistence, and Manual Ack

This article explains the three stages of RabbitMQ message flow, identifies potential loss points, and provides practical solutions—including confirm mode, message persistence, database-backed compensation, and manual acknowledgments—to achieve near‑perfect reliability for both producers and consumers.

Confirm ModeMessage ReliabilityPersistence
0 likes · 10 min read
How to Ensure Zero Message Loss with RabbitMQ: Confirm, Persistence, and Manual Ack
Code Ape Tech Column
Code Ape Tech Column
Nov 17, 2021 · Backend Development

Ensuring Reliable Message Delivery with RabbitMQ: Producer Confirmations, Persistence, and Consumer Acknowledgments

This article explains how to achieve near‑zero message loss in RabbitMQ by using producer confirm mode, durable exchanges/queues/messages, database‑backed message storage, and manual consumer acknowledgments, while providing practical code examples for each technique.

BackendConsumer AckMessage Reliability
0 likes · 9 min read
Ensuring Reliable Message Delivery with RabbitMQ: Producer Confirmations, Persistence, and Consumer Acknowledgments
Java Architect Essentials
Java Architect Essentials
Jul 23, 2021 · Backend Development

Preventing Message Loss in RabbitMQ and Kafka: Transactions, Confirm Mode, Persistence, and Configuration Best Practices

This article explains the common points where messages can be lost in RabbitMQ and Kafka, compares transaction and confirm mechanisms, describes how to enable persistence and proper acknowledgments, and provides concrete configuration recommendations for producers and consumers to ensure reliable message delivery.

Backend DevelopmentKafkaMessage Reliability
0 likes · 9 min read
Preventing Message Loss in RabbitMQ and Kafka: Transactions, Confirm Mode, Persistence, and Configuration Best Practices
Tencent IMWeb Frontend Team
Tencent IMWeb Frontend Team
May 25, 2021 · Backend Development

How to Ensure Reliable Push Messaging in Live Online Classrooms

This article examines the challenges of message loss in live‑streamed online classrooms, analyzes why pushes can fail, and proposes a comprehensive reliability strategy—including TCP fundamentals, multi‑channel redundancy, sequence‑based ordering, hole‑pulling, and configurable back‑end mechanisms—to achieve near‑100% delivery.

Distributed SystemsMessage ReliabilityTCP
0 likes · 19 min read
How to Ensure Reliable Push Messaging in Live Online Classrooms
Alibaba Cloud Developer
Alibaba Cloud Developer
Feb 1, 2021 · Backend Development

How Does RocketMQ Ensure End-to-End Message Reliability?

This article examines RocketMQ's end‑to‑end reliability mechanisms, covering producer‑side sending strategies, broker storage guarantees, and consumer‑side consumption semantics to show how the system minimizes message loss in distributed environments.

Consumer RetryData PersistenceMessage Queue
0 likes · 11 min read
How Does RocketMQ Ensure End-to-End Message Reliability?
Big Data Technology Architecture
Big Data Technology Architecture
Apr 22, 2020 · Big Data

Key Kafka Producer Configuration Parameters and Tuning Recommendations

This article explains the most important Kafka producer configuration parameters—such as acks, max.request.size, retries, compression.type, buffer.memory, batch.size, linger.ms, request.timeout.ms, and max.in.fight.requests.per.connection—provides practical tuning advice, and presents a recommended setup to achieve high throughput without message loss.

ConfigurationKafkaMessage Reliability
0 likes · 9 min read
Key Kafka Producer Configuration Parameters and Tuning Recommendations
Programmer DD
Programmer DD
Mar 26, 2020 · Backend Development

How Zhihu Built a Scalable Long‑Connection Gateway for Real‑Time Messaging

Zhihu’s infrastructure team designed a high‑performance, scalable long‑connection gateway that decouples business logic via publish‑subscribe, leverages OpenResty, Kafka, and Redis, implements fine‑grained ACL, sliding‑window flow control, and ensures message reliability and horizontal scalability for millions of concurrent devices.

KafkaMessage ReliabilityOpenResty
0 likes · 15 min read
How Zhihu Built a Scalable Long‑Connection Gateway for Real‑Time Messaging
Seewo Tech Circle
Seewo Tech Circle
Aug 9, 2019 · Backend Development

Ensuring Reliable, Ordered, and Duplicate‑Free Messaging in IM Systems

This article explains the stringent reliability requirements of instant messaging—ordered delivery, low latency, no loss, and deduplication—analyzes causes of disorder such as multi‑process and multi‑thread architectures, and presents practical solutions including hash‑based routing, sequential IDs, push‑pull mechanisms, ACK optimization, and distributed ID generation.

Instant MessagingMessage Reliabilitybackend design
0 likes · 9 min read
Ensuring Reliable, Ordered, and Duplicate‑Free Messaging in IM Systems
Qunar Tech Salon
Qunar Tech Salon
Jun 13, 2017 · Backend Development

Ensuring Reliable Message Delivery in QTalk Instant Messaging System

This article explains the principles behind QTalk, Qunar's internal instant messaging platform, and describes the mechanisms it uses—such as long‑connection management, message retry, server acknowledgments, and multi‑client synchronization—to achieve stable and reliable message delivery despite network challenges.

Message ReliabilityQTalk
0 likes · 8 min read
Ensuring Reliable Message Delivery in QTalk Instant Messaging System