NOTE
2.3 Distributed Transaction Solution: Reliable-Message Eventual Consistency
Reliable messaging coordinates local transactions across services toward eventual consistency. These notes introduce local message tables and transactional messages through the process diagram.
This is a historical learning note and may contain outdated or incomplete understanding.
1. What Is Reliable-Message Eventual Consistency?
A distributed transaction solution that guarantees eventual consistency.
2. Reliable-Message Eventual-Consistency Process

3. Use Cases for Reliable-Message Eventual Consistency
- Suitable for business operations that require eventual consistency, are not time-sensitive, and require the distributed transaction to succeed rather than end in failure, such as awarding points after registration or coupons after login.
- Multiple services use multiple data sources, and the data sources do not have to be DBs.
4. Implementations of Reliable-Message Eventual Consistency
4.1. Local Message Table

4.2. Transaction Messages
Compared with the local message table approach, this moves both the scheduled background task and the message table into the message-queue middleware.

5. References
Drag to pan, scroll to zoom, and click a node to expand or collapse it. Large maps start with deeper levels collapsed; click nodes to expand them.
Discussion
Sign in with GitHub to comment. Discussions are stored as GitHub Issues.View on GitHub