<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Http on Java &amp; Software Architecture Knowledge Hub</title><link>https://samirsahoo.github.io/design-patterns-hub/tags/http/</link><description>Recent content in Http on Java &amp; Software Architecture Knowledge Hub</description><generator>Hugo</generator><language>en-US</language><copyright>© 2026 Samir Kumar Sahoo (https://github.com/samirsahoo). All rights reserved.</copyright><atom:link href="https://samirsahoo.github.io/design-patterns-hub/tags/http/index.xml" rel="self" type="application/rss+xml"/><item><title>Long Polling, WebSockets and Server-Sent Events</title><link>https://samirsahoo.github.io/design-patterns-hub/system-design/building-blocks/real-time-communication/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://samirsahoo.github.io/design-patterns-hub/system-design/building-blocks/real-time-communication/</guid><description>&lt;h2 id="simple-definition"&gt;Simple definition&lt;a class="heading-anchor" href="#simple-definition" aria-label="Link to this section"&gt;#&lt;/a&gt;&lt;/h2&gt;&#10;&lt;p&gt;HTTP was designed for &lt;strong&gt;request and response&lt;/strong&gt;: the client asks, the server answers. Chat, live scores, notifications, collaborative editing and dashboards need the &lt;strong&gt;server to send data when something happens&lt;/strong&gt;. There are four ways to achieve this on the web, from the oldest to the most capable.&lt;/p&gt;</description></item><item><title>DNS and What Happens When You Type a URL</title><link>https://samirsahoo.github.io/design-patterns-hub/system-design/building-blocks/dns-and-web-request-lifecycle/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://samirsahoo.github.io/design-patterns-hub/system-design/building-blocks/dns-and-web-request-lifecycle/</guid><description>&lt;h2 id="simple-definition"&gt;Simple definition&lt;a class="heading-anchor" href="#simple-definition" aria-label="Link to this section"&gt;#&lt;/a&gt;&lt;/h2&gt;&#10;&lt;p&gt;When you type &lt;code&gt;https://www.example.com/products&lt;/code&gt; and press Enter, the browser must: find the server&amp;rsquo;s IP address (&lt;strong&gt;DNS&lt;/strong&gt;), open a connection (&lt;strong&gt;TCP&lt;/strong&gt;), secure it (&lt;strong&gt;TLS&lt;/strong&gt;), send an &lt;strong&gt;HTTP&lt;/strong&gt; request, receive the response, and &lt;strong&gt;render&lt;/strong&gt; the page. Each step adds latency and each is a lever in system design. ByteByteGo covers this as &amp;ldquo;what happens when you type a URL into your browser?&amp;rdquo; and &amp;ldquo;how does DNS work&amp;rdquo;.&lt;/p&gt;</description></item></channel></rss>