<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>Distributed Systems on LevelUp</title><link>http://larrynung.github.io/tags/distributed-systems/</link><description>Recent content in Distributed Systems on LevelUp</description><image><title>LevelUp</title><url>http://larrynung.github.io/images/og-default.png</url><link>http://larrynung.github.io/images/og-default.png</link></image><generator>Hugo -- 0.148.1</generator><language>zh-TW</language><copyright>{year} Larry Nung</copyright><lastBuildDate>Tue, 16 Jun 2026 13:13:07 +0800</lastBuildDate><atom:link href="http://larrynung.github.io/tags/distributed-systems/index.xml" rel="self" type="application/rss+xml"/><item><title>CAP theorem</title><link>http://larrynung.github.io/posts/cap-theorem/</link><pubDate>Thu, 30 May 2019 07:36:11 +0000</pubDate><guid>http://larrynung.github.io/posts/cap-theorem/</guid><description>CAP定理 (CAP theorem)，又稱作布魯爾定理 (Brewer&amp;#39;s theorem)，指出對於一個分散式系統來說，不可能同時滿足 Consistency、Availability、Partition tolerance 三種特性。</description></item><item><title>Two-phase commit protocol</title><link>http://larrynung.github.io/posts/two-phase-commit-protocol/</link><pubDate>Thu, 02 May 2019 07:52:40 +0000</pubDate><guid>http://larrynung.github.io/posts/two-phase-commit-protocol/</guid><description>Two-phase commit protocol 簡稱 2PC，也就是所謂的二階段提交。可用來解決分散式服務架構下各服務之間交易資料一致性問題。 該做法有幾個假設前提： 該分散式系統中，存在一個節點作為協調者(Coordinator)，其他節點作為參與者(Participants)。</description></item><item><title>Saga pattern</title><link>http://larrynung.github.io/posts/saga-pattern/</link><pubDate>Wed, 24 Apr 2019 15:43:32 +0000</pubDate><guid>http://larrynung.github.io/posts/saga-pattern/</guid><description>Saga pattern 是用來解決分散式服務架構下各服務之間的交易資料一致性問題。 在單體服務的架構下通常會使用同一個資料庫，交易可以直接交給資料庫處理，處理失敗交易資料就會整個還原，不會有交易一致性的問題。</description></item></channel></rss>