Apache Seata™ (incubating)
Apache Seata™ (incubating) is an open source distributed transaction solution that delivers high performance and easy to use distributed transaction services under a microservices architecture.
What is Apache Seata™ (incubating)?
Seata is an open source distributed transaction solution for microservices. It helps applications maintain data consistency across services.
Seata originated within Alibaba, where it played a key role in ensuring data consistency for transaction and payment services. It was open sourced in 2019 and is now developed by the community.
Explore the architectureFour transaction modes
AT mode
Provides non-intrusive automatic compensation transaction mode, currently supports MySQL, Oracle, PostgreSQL, TiDB, MariaDB, Dameng, PolarDB-X 2.0, SQL Server. Db2 is currently under development.
TCC mode
Coordinates transactions through custom Try, Confirm, and Cancel operations. Applications implement resource reservation, commit, and rollback, supporting flexible business logic and resources without native transactions.
Saga mode
Orchestrates long business processes with a state machine engine. Services commit local transactions, and compensation logic supplied by the application undoes completed steps when subsequent steps fail.
XA mode
Coordinates distributed transactions through the XA protocol in supported JDBC databases. Database resources handle branch preparation, commit, and rollback while applications retain the local transaction programming model.
Integration and deployment
Microservices framework support
RPC frameworks such as Dubbo, Spring Cloud, SOFARPC, Motan, and gRPC are currently supported, and other frameworks are continuously integrated.
High availability
Supports cluster mode with separate storage and computing, where computing nodes can be horizontally scaled, and storage supports both databases and Redis. The Raft cluster mode has entered the beta testing phase.
Go implementation and ecosystem
Seata has a native Go implementation for high-performance transactions. Discover the entire ecosystem, including the Seata Go repository, Kubernetes support, and CLI tool.