<?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 Tuan Hiep TRAN — System Design &amp; AI Infra</title><link>https://tuanhiep.github.io/tags/distributed-systems/</link><description>Recent content in Distributed-Systems on Tuan Hiep TRAN — System Design &amp; AI Infra</description><generator>Hugo</generator><language>en-us</language><lastBuildDate>Sat, 11 Apr 2026 00:00:00 +0000</lastBuildDate><atom:link href="https://tuanhiep.github.io/tags/distributed-systems/index.xml" rel="self" type="application/rss+xml"/><item><title>Global Payment Gateway (2/4): Distributed Transactions &amp; The Saga Pattern</title><link>https://tuanhiep.github.io/posts/series_2/2.global_payment_gateway_sagas/</link><pubDate>Sat, 11 Apr 2026 00:00:00 +0000</pubDate><guid>https://tuanhiep.github.io/posts/series_2/2.global_payment_gateway_sagas/</guid><description>Why Two-Phase Commit (2PC) fails at scale, and how to architect the Saga Pattern and Transactional Outbox to guarantee data consistency across microservices.</description></item><item><title>Global Payment Gateway (1/4): The Idempotent Payment API</title><link>https://tuanhiep.github.io/posts/series_2/1.global_payment_gateway_idempotency/</link><pubDate>Fri, 03 Apr 2026 00:00:00 +0000</pubDate><guid>https://tuanhiep.github.io/posts/series_2/1.global_payment_gateway_idempotency/</guid><description>Exactly-once delivery is an illusion in distributed networks. In this post, we architect an Idempotent Payment API to guarantee financial correctness amidst network timeouts, race conditions, and retry storms.</description></item><item><title>Stock Exchange Core (4/4): Trade-offs, Scaling Limits &amp; Alternative Architectures</title><link>https://tuanhiep.github.io/posts/series_1/4.stock_exchange_tradeoffs/</link><pubDate>Sun, 29 Mar 2026 00:00:00 +0000</pubDate><guid>https://tuanhiep.github.io/posts/series_1/4.stock_exchange_tradeoffs/</guid><description>When does the LMAX Disruptor fail? We explore the CAP theorem, quantify the brutal costs of Kernel Bypass, and provide a strict decision framework for system design.</description></item><item><title>Stock Exchange Core (3/4): High Availability &amp; Deterministic Fault Tolerance</title><link>https://tuanhiep.github.io/posts/series_1/3.stock_exchange_architecture/</link><pubDate>Sun, 22 Feb 2026 00:00:00 +0000</pubDate><guid>https://tuanhiep.github.io/posts/series_1/3.stock_exchange_architecture/</guid><description>How to survive hardware crashes without a database. We explore Event Sourcing, the Sequencer pattern, and UDP Multicast to achieve 99.999% uptime in a single-threaded architecture.</description></item><item><title>Welcome to My Blog — System Design &amp; AI infrastructure</title><link>https://tuanhiep.github.io/posts/0.my_blog_system_design/</link><pubDate>Fri, 29 Aug 2025 00:00:00 +0000</pubDate><guid>https://tuanhiep.github.io/posts/0.my_blog_system_design/</guid><description>A personal space to explore system design, AI infrastructure, and deep reflections on the world of technology.</description></item></channel></rss>