Seata is an open source distributed transaction solution dedicated to providing high performance and easy to use distributed transaction services. Seata will provide users with AT, TCC, SAGA, and XA t
Maintain status of global and branch transactions, drive the global commit or rollback. Define the scope of global transaction: begin a global transaction, commit or rollback a global transaction. M
Seata API is devided into 2 categories: High-Level API and Low-Level API GlobalTransaction class contains methods about begin transaction, commit transaction, rollback transaction and get status of t
Databases supported by AT mode include: MySQL, Oracle, PostgreSQL, TiDB, and MariaDB. TCC mode does not rely on data sources (for version 1.4.2 and before). After version 1.4.2, TCC anti-hanging meas
Evolution from the two phases commit protocol: Two transactions tx1 and tx2 are trying to update field m of table a. The original value of m is 1000. tx1 starts first, begins a local transaction, ac
Let's begin with a Microservices example. A business logic for user purchasing commodities. The whole business logic is powered by 3 microservices: We just need an annotation @GlobalTransactional on
Although Seata is a component that ensures data consistency, it has no special requirements for ORM frameworks, supporting many mainstream ORM frameworks such as Mybatis, Mybatis-Plus, Spring Data JPA
Global Transaction Status, Branch Transaction Status