<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Consensus on Chen Kai Blog</title><link>https://www.chenk.top/zh/tags/consensus/</link><description>Recent content in Consensus on Chen Kai Blog</description><generator>Hugo</generator><language>zh-CN</language><lastBuildDate>Sun, 28 Apr 2024 09:00:00 +0000</lastBuildDate><atom:link href="https://www.chenk.top/zh/tags/consensus/index.xml" rel="self" type="application/rss+xml"/><item><title>数据库（七）：分布式事务——两阶段提交、Saga 模式，以及为何共识如此困难</title><link>https://www.chenk.top/zh/databases/07-distributed-transactions/</link><pubDate>Sun, 28 Apr 2024 09:00:00 +0000</pubDate><guid>https://www.chenk.top/zh/databases/07-distributed-transactions/</guid><description>&lt;p>第 3 篇文章中关于事务的所有内容，均基于单数据库服务器假设——一台机器、一份事务日志、一个锁管理器。一旦数据分布到多台机器上——例如实施分片（sharding）、采用微服务架构（各服务独享数据库）或启用强一致性复制——便直面分布式系统最棘手的问题：&lt;strong>多台机器如何就某个值达成一致？&lt;/strong>&lt;/p></description></item></channel></rss>