Tagged articles
9 articles
Page 1 of 1
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 theoremJavaLocal Message Table
0 likes · 34 min read
Combining RocketMQ Transaction Messages, Local Message Table, and XXL‑Job for 10‑100k QPS Distributed Transactions
dbaplus Community
dbaplus Community
Jul 10, 2025 · Backend Development

Ensuring Data Consistency in Microservices: From CAP to Transactional Messaging

This article examines the limitations of the CAP theorem in modern microservice architectures, introduces the BASE model for eventual consistency, and evaluates practical solutions such as write RPC retries, synchronous and transactional messaging, and local message tables to achieve reliable data consistency across distributed services.

BASE theoryCAP theoremDistributed Consistency
0 likes · 11 min read
Ensuring Data Consistency in Microservices: From CAP to Transactional Messaging
Lobster Programming
Lobster Programming
Apr 17, 2025 · Backend Development

How Local Message Tables Solve Distributed Transaction Challenges

Using a local message table, developers can break down distributed transactions into local database operations and asynchronous MQ messages, ensuring eventual consistency, simplifying implementation, and handling retries, while balancing advantages like simplicity and compatibility against drawbacks such as added maintenance and potential queue dependencies.

Backend ArchitectureDistributed SystemsLocal Message Table
0 likes · 5 min read
How Local Message Tables Solve Distributed Transaction Challenges
ITPUB
ITPUB
Dec 6, 2021 · Backend Development

Why ‘Insert‑Then‑Publish’ Isn’t Enough: Ensuring Reliable Message Delivery in Microservices

The article explains why the naïve "insert‑then‑publish" pattern can cause data inconsistency in microservice architectures, analyzes failure scenarios, and presents a local message‑table solution that leverages database transactions to achieve eventual consistency while handling duplicate messages.

Local Message Tabledistributed-transactioneventual consistency
0 likes · 9 min read
Why ‘Insert‑Then‑Publish’ Isn’t Enough: Ensuring Reliable Message Delivery in Microservices
Wukong Talks Architecture
Wukong Talks Architecture
Aug 13, 2021 · Fundamentals

Reliable Message-Based Distributed Transaction Consistency Solution

This article explains the fundamentals of distributed transactions, introduces the reliable message eventual consistency approach, analyzes its challenges such as atomicity and message reliability, and presents two practical solutions—local message tables and RocketMQ transactional messages—along with their advantages and drawbacks.

Distributed TransactionsLocal Message TableRocketMQ
0 likes · 8 min read
Reliable Message-Based Distributed Transaction Consistency Solution
Code Ape Tech Column
Code Ape Tech Column
Jul 7, 2021 · Backend Development

How to Ensure Data Consistency in Microservices: From Blocking Retries to TCC

This article examines common techniques for handling service call failures in micro‑service architectures—blocking retries, asynchronous queues, TCC compensation transactions, local message tables, and MQ transactions—detailing their implementations, pitfalls, and trade‑offs to achieve reliable data consistency.

Data ConsistencyLocal Message TableMessage Queue
0 likes · 16 min read
How to Ensure Data Consistency in Microservices: From Blocking Retries to TCC
dbaplus Community
dbaplus Community
Sep 16, 2020 · Backend Development

How to Solve Distributed Transactions, Idempotency, and Async Messaging in Microservices

This article shares practical strategies for handling distributed transactions, idempotent operations, and asynchronous message ordering in microservice architectures, covering pitfalls of RPC inside transactions, compensation patterns, local message tables, and state‑driven messaging to achieve reliable consistency without sacrificing performance.

CompensationIdempotencyLocal Message Table
0 likes · 25 min read
How to Solve Distributed Transactions, Idempotency, and Async Messaging in Microservices
21CTO
21CTO
Sep 29, 2017 · Databases

Ensuring Distributed Consistency: From Local Transactions to Two‑Phase Commit

The article examines how to achieve data consistency in distributed internet systems by comparing strong and eventual consistency, detailing local database transactions, two‑phase commit protocols, rollback mechanisms, local message tables, and compensation strategies, and discusses their trade‑offs and suitable application scenarios.

CompensationDistributed TransactionsLocal Message Table
0 likes · 11 min read
Ensuring Distributed Consistency: From Local Transactions to Two‑Phase Commit