<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>Rest on Dishant.ca</title>
		<link>https://dishant.ca/tags/rest/</link>
		<description>Recent content in Rest on Dishant.ca</description>
		<generator>Hugo</generator>
		<language>en-us</language>
		
		
		
		
			<lastBuildDate>Mon, 15 Dec 2025 09:00:00 -0500</lastBuildDate>
		
			<atom:link href="https://dishant.ca/tags/rest/index.xml" rel="self" type="application/rss+xml" />
			<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>
	</channel>
</rss>
