<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>Distributed Computing Primer on Dishant.ca</title>
		<link>https://dishant.ca/series/distributed-computing-primer/</link>
		<description>Recent content in Distributed Computing Primer on Dishant.ca</description>
		<generator>Hugo</generator>
		<language>en-us</language>
		
		
		
		
			<lastBuildDate>Sat, 20 Dec 2025 09:00:00 -0500</lastBuildDate>
		
			<atom:link href="https://dishant.ca/series/distributed-computing-primer/index.xml" rel="self" type="application/rss+xml" />
			<item>
				<title>Event Brokers and the Event Mesh, Explained</title>
				<link>https://dishant.ca/post/2025-12-20-event-brokers-event-mesh/</link>
				<pubDate>Sat, 20 Dec 2025 09:00:00 -0500</pubDate>
				<guid>https://dishant.ca/post/2025-12-20-event-brokers-event-mesh/</guid>
				<description>&lt;blockquote&gt;&#xA;&lt;p&gt;&lt;strong&gt;TL;DR&lt;/strong&gt;&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;An event broker is the next generation of messaging middleware. It keeps the decoupling we built up in this series and adds what modern environments demand.&lt;/li&gt;&#xA;&lt;li&gt;Those demands: run anywhere from on-prem to cloud to edge, speak many open protocols, enforce security and access control, stay highly available, and support monitoring and governance.&lt;/li&gt;&#xA;&lt;li&gt;The shift in name reflects a shift in thinking: from moving messages between apps to distributing &lt;strong&gt;events&lt;/strong&gt;, facts about things that happened, to whoever cares.&lt;/li&gt;&#xA;&lt;li&gt;An event mesh is a set of event brokers connected together, so an event published anywhere reaches every interested consumer, wherever it runs.&lt;/li&gt;&#xA;&lt;li&gt;The two takeaways from the whole series: distributed computing lives or dies on communication, and asynchronous, decoupled communication is what lets it scale.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;/blockquote&gt;</description>
			</item>
			<item>
				<title>What About REST? Synchronous vs Asynchronous</title>
				<link>https://dishant.ca/post/2025-12-15-rest-vs-messaging-sync-async/</link>
				<pubDate>Mon, 15 Dec 2025 09:00:00 -0500</pubDate>
				<guid>https://dishant.ca/post/2025-12-15-rest-vs-messaging-sync-async/</guid>
				<description>&lt;blockquote&gt;&#xA;&lt;p&gt;&lt;strong&gt;TL;DR&lt;/strong&gt;&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;HTTP/REST is the easiest way to talk over a network: every language, tool and developer already speaks it. It fully hides socket programming.&lt;/li&gt;&#xA;&lt;li&gt;It doesn&amp;rsquo;t decouple you from location, availability or pace. You need an address, the service has to be up, and a chain of calls is only as fast as its slowest link.&lt;/li&gt;&#xA;&lt;li&gt;You can claw some of that back with DNS, load balancers, service discovery, retries and circuit breakers, but it&amp;rsquo;s work you&amp;rsquo;re adding to make up for the style.&lt;/li&gt;&#xA;&lt;li&gt;The real dividing line isn&amp;rsquo;t REST vs messaging. It&amp;rsquo;s &lt;strong&gt;synchronous&lt;/strong&gt; (call and wait) vs &lt;strong&gt;asynchronous&lt;/strong&gt; (send and get told later).&lt;/li&gt;&#xA;&lt;li&gt;Microservices don&amp;rsquo;t have to mean REST. Use request/reply where someone is waiting for an answer, and asynchronous messaging for everything else.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;/blockquote&gt;</description>
			</item>
			<item>
				<title>Message-Oriented Middleware: Decoupling, Three Ways</title>
				<link>https://dishant.ca/post/2025-12-10-message-oriented-middleware/</link>
				<pubDate>Wed, 10 Dec 2025 09:00:00 -0500</pubDate>
				<guid>https://dishant.ca/post/2025-12-10-message-oriented-middleware/</guid>
				<description>&lt;blockquote&gt;&#xA;&lt;p&gt;&lt;strong&gt;TL;DR&lt;/strong&gt;&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Message-oriented middleware (MOM) puts a broker between processes. Applications call a simple send/receive API and never touch sockets.&lt;/li&gt;&#xA;&lt;li&gt;Messages carry a &lt;strong&gt;destination&lt;/strong&gt;, not an address, so senders don&amp;rsquo;t need to know where receivers live. That&amp;rsquo;s location decoupling.&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;Guaranteed&lt;/strong&gt; messages are persisted by the middleware until a receiver is back. That&amp;rsquo;s availability decoupling.&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;Queues&lt;/strong&gt; absorb bursts and let you add competing consumers to drain them. That&amp;rsquo;s pace decoupling, and it gives you elasticity almost for free.&lt;/li&gt;&#xA;&lt;li&gt;The price: the middleware becomes critical infrastructure, and you have to think asynchronously about ordering, duplicates and eventual consistency.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;/blockquote&gt;</description>
			</item>
			<item>
				<title>From Shared Files to RPC: How Applications First Talked</title>
				<link>https://dishant.ca/post/2025-12-05-files-databases-sockets-rpc/</link>
				<pubDate>Fri, 05 Dec 2025 09:00:00 -0500</pubDate>
				<guid>https://dishant.ca/post/2025-12-05-files-databases-sockets-rpc/</guid>
				<description>&lt;blockquote&gt;&#xA;&lt;p&gt;&lt;strong&gt;TL;DR&lt;/strong&gt;&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Shared files and shared databases pass data well, but can&amp;rsquo;t signal anyone. The receiver has to poll, and neither reaches far beyond one network.&lt;/li&gt;&#xA;&lt;li&gt;Sockets fix the trigger and the reach: data arriving on the socket is the signal, and anything with an IP and port is reachable. They also make you write all the plumbing yourself.&lt;/li&gt;&#xA;&lt;li&gt;RPC hides the socket code behind a function call, but the caller still needs to know where the server is, needs it to be up, and waits for it to finish.&lt;/li&gt;&#xA;&lt;li&gt;That gives us three more objectives: decouple from the &lt;strong&gt;location&lt;/strong&gt;, the &lt;strong&gt;availability&lt;/strong&gt; and the &lt;strong&gt;pace&lt;/strong&gt; of other processes. Oddly, files and databases already do much of this. Sockets and RPC do none of it.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;/blockquote&gt;</description>
			</item>
			<item>
				<title>Why Distribute? A Primer on Distributed Computing</title>
				<link>https://dishant.ca/post/2025-11-30-why-distributed-computing/</link>
				<pubDate>Sun, 30 Nov 2025 09:00:00 -0500</pubDate>
				<guid>https://dishant.ca/post/2025-11-30-why-distributed-computing/</guid>
				<description>&lt;blockquote&gt;&#xA;&lt;p&gt;&lt;strong&gt;TL;DR&lt;/strong&gt;&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Distributed computing is many processes, often on many machines in many places, working together so the user sees one service.&lt;/li&gt;&#xA;&lt;li&gt;We accept the extra complexity for three reasons: scaling out is cheaper and goes further than scaling up, failures can be contained and recovered, and services can run closer to their users.&lt;/li&gt;&#xA;&lt;li&gt;The network is not your friend. The classic fallacies of distributed computing (it&amp;rsquo;s reliable, latency is zero, and so on) are still the source of most surprises.&lt;/li&gt;&#xA;&lt;li&gt;Everything rests on one thing: effective communication between processes. We&amp;rsquo;ll judge every communication style in this series against three starting objectives: can it trigger work, can it pass data, and can it work at any scale?&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;/blockquote&gt;</description>
			</item>
	</channel>
</rss>
