Ants gold dress and open source practice large-scale distributed transaction history

image.png

This paper finishing technology experts from ants gold dress, distributed Seata the initiator of a transaction Nathan (nickname: Shao Hui) Share GIAC global Internet infrastructure in the General Assembly. Gave a detailed cross-service in a distributed architecture evolution, the ants gold dress facing business data consistency across databases and response measures, and shared distributed transaction Seata of AT, TCC, Saga and XA four modes.

First, the self-development of distributed transactional data consistency problem solving

1.1 Distributed transaction problem causes
the level 1.1.1 database split
ants gold dress business database is a single database single table initially, but with the rapid development of business scale data, the increasing amount of data, in one database single table gradually become a bottleneck. So we split the database level, the original single-table split into a single repository database fragmentation.
As shown, after sub-library sub-table, the original database can be done on a write operation as shown below, might span multiple databases, which creates a cross-database transaction problem.

image.png

1.1.2 Business Service of the split
in the early stages of business development, "big cake" of a single business system architecture, can

Guess you like

Origin yq.aliyun.com/articles/711618