<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Distributed-Systems on Khang Nghiem</title><link>https://www.khangnghiem.com/tags/distributed-systems/</link><description>Recent content in Distributed-Systems on Khang Nghiem</description><generator>Hugo</generator><language>en</language><lastBuildDate>Tue, 03 Mar 2026 00:00:00 +0000</lastBuildDate><atom:link href="https://www.khangnghiem.com/tags/distributed-systems/index.xml" rel="self" type="application/rss+xml"/><item><title>Kafka for Beginners: How It Works and Why It Exists</title><link>https://www.khangnghiem.com/post/kafka-for-beginners/</link><pubDate>Tue, 03 Mar 2026 00:00:00 +0000</pubDate><guid>https://www.khangnghiem.com/post/kafka-for-beginners/</guid><description>&lt;p&gt;Most explanations of Kafka start with &amp;ldquo;Kafka is a distributed event streaming platform.&amp;rdquo; That sentence is accurate and tells you nothing useful. This post starts from the problem Kafka was built to solve, then explains each piece of the system from why it exists, not from what it is called.&lt;/p&gt;
&lt;hr&gt;
&lt;h2 id="part-1-why-kafka-exists"&gt;Part 1: Why Kafka Exists&lt;/h2&gt;
&lt;h3 id="the-problem-with-direct-service-calls"&gt;The problem with direct service calls&lt;/h3&gt;
&lt;p&gt;Suppose you have an e-commerce system. When a user places an order, several things must happen: the inventory service deducts stock, the notification service sends a confirmation email, the analytics service records the sale, and the fraud detection service runs a check.&lt;/p&gt;</description></item></channel></rss>