Tagged articles
8 articles
Page 1 of 1
java1234
java1234
Feb 24, 2026 · Backend Development

How to Handle Transactions in RabbitMQ with Java

This article explains RabbitMQ's transaction mechanism, walks through the four-step process of opening, executing, committing, or rolling back a transaction, provides a complete Java example with Maven setup, and discusses performance impacts and when to prefer acknowledgments over transactions.

AcknowledgmentMessagingRabbitMQ
0 likes · 6 min read
How to Handle Transactions in RabbitMQ with Java
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
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
Tencent Cloud Middleware
Tencent Cloud Middleware
Mar 19, 2021 · Fundamentals

How Apache Pulsar Stores, Acknowledges, and Retains Messages

This article explains Apache Pulsar’s core architecture—including its message model, producer and consumer behavior, subscription types, storage hierarchy, acknowledgment mechanisms, cursor handling, backlog concepts, retention policies, and storage size calculations—helping readers understand why storage size can exceed backlog size.

AcknowledgmentApache PulsarBacklog
0 likes · 14 min read
How Apache Pulsar Stores, Acknowledges, and Retains Messages
Java Backend Technology
Java Backend Technology
Jul 5, 2018 · Fundamentals

Unveiling the Hidden Mechanics of Sockets: From Bytes to Network Communication

This article demystifies socket communication by illustrating the end‑to‑end process of TCP/UDP message exchange, detailing how client and server serialize objects, interact with kernel read/write buffers, handle blocking, acknowledgments, packet headers, and flow control, and why understanding these low‑level mechanisms is crucial for reliable network programming.

AcknowledgmentBlockingNetwork programming
0 likes · 9 min read
Unveiling the Hidden Mechanics of Sockets: From Bytes to Network Communication
System Architect Go
System Architect Go
Feb 28, 2018 · Backend Development

RabbitMQ Tutorial: Basic Async/Await Usage and Work Queues

This article explains RabbitMQ's typical workflow, demonstrates basic message publishing and consumption with async/await in Node.js, introduces work queues with persistent messages and prefetch, and discusses key concepts such as default exchanges, queue durability, and acknowledgment modes.

AcknowledgmentMessage QueueNode.js
0 likes · 5 min read
RabbitMQ Tutorial: Basic Async/Await Usage and Work Queues