解密SHARDINGSPHERE与SERVICECOMB联合打造的分布式事务解决方案servicecomb.apache.org Apache ShardingSphere生态 1 Apache ShardingSphere事务体系 2 Apache ServiceComb-saga 3 分布式事务解决方案的合作与探索 4 目录 CONTENTS 3 github.com/apache?q=servicecomb servicecomb.apache.org Apache q=servicecomb servicecomb.apache.org 分布式事务概述 金融 CAP原则 Consistency 2PC事务 XA Availability BASE事务 saga TCC 基于可靠消息 的事务 Partition tolerance 11 github.com/apache?q=servicecomb servicecomb.apache.org 短事务/低并 发 长事务/高并 发 事务层级 数据库层 数据库层 服务层 12 github.com/apache?q=servicecomb servicecomb.apache.org Saga概述 论文出处:https://www.cs.cornell.edu/andru/cs711/2002fa/reading/sagas.pdf 一个长事务可以拆分成相对独立的若干子事务0 码力 | 19 页 | 4.18 MB | 1 年前3
Apache ShardingSphere(Incubating) 云架构演化回滚 支持 支持 一致性 强一致 最终一致 隔离性 原生支持 实现资源锁定接口 并发性能 严重衰退 略微衰退 适合场景 短事务 并发较低 长事务 高并发 Saga Apache ServiceComb Apache ShardingSphere 分布式事务架构 数据库治理 注册中心 配置劢态化推劢 配置统一管理 数据库从库禁用0 码力 | 37 页 | 3.00 MB | 1 年前3
Apache ShardingSphere(Incubating)云架构演化支持 一致性 强一致 最终一致 隔离性 原生支持 实现资源锁定接口 并发性能 严重衰退 略微衰退 适合场景 短事务 并发较低 长事务 高并发 2018年PostgreSQL中国技术大会 Saga Apache ServiceComb Apache ShardingSphere 2018年PostgreSQL中国技术大会 分布式事务框构 2018年PostgreSQL中国技术大会 数据库治理0 码力 | 34 页 | 5.07 MB | 1 年前3
Apache ShardingSphere 5.1.1 Documentconsis‐ tency to instead of consistency when improve concurrency of transaction processing. TCC and Saga are two regular implementations. They use reverse operation implemented by developers themselves0 码力 | 458 页 | 3.43 MB | 1 年前3
Apache ShardingSphere 5.1.2 Documentconsis‐ tency to instead of consistency when improve concurrency of transaction processing. TCC and Saga are two regular implementations. They use reverse operation implemented by developers themselves0 码力 | 503 页 | 3.66 MB | 1 年前3
Apache ShardingSphere 中文文档 5.1.1ShardingSphere document, v5.1.1 柔性事务 柔性事务在 2008 年发表的一篇论文中被最早提到,它提倡采用最终一致性放宽对强一致性的要求,以达 到事务处理并发度的提升。 TCC 和 Saga 是两种常见实现方案。他们主张开发者自行实现对数据库的反向操作,来达到数据在回滚时 仍能够保证最终一致性。SEATA 实现了 SQL 反向操作的自动生成,可以使柔性事务不再必须由开发者介 入才能使用。0 码力 | 409 页 | 4.47 MB | 1 年前3
Apache ShardingSphere 中文文档 5.1.0ShardingSphere document, v5.1.0 柔性事务 柔性事务在 2008 年发表的一篇论文中被最早提到,它提倡采用最终一致性放宽对强一致性的要求,以达 到事务处理并发度的提升。 TCC 和 Saga 是两种常见实现方案。他们主张开发者自行实现对数据库的反向操作,来达到数据在回滚时 仍能够保证最终一致性。SEATA 实现了 SQL 反向操作的自动生成,可以使柔性事务不再必须由开发者介 入才能使用。0 码力 | 406 页 | 4.40 MB | 1 年前3
Apache ShardingSphere 中文文档 5.1.2事务管理和连接池管理的方式,做到对应用程序的零侵入。 柔性事务 柔性事务在 2008 年发表的一篇论文中被最早提到,它提倡采用最终一致性放宽对强一致性的要求,以达 到事务处理并发度的提升。 TCC 和 Saga 是两种常见实现方案。他们主张开发者自行实现对数据库的反向操作,来达到数据在回滚时 仍能够保证最终一致性。SEATA 实现了 SQL 反向操作的自动生成,可以使柔性事务不再必须由开发者介 入才能使用。0 码力 | 446 页 | 4.67 MB | 1 年前3
共 8 条
- 1













