<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Networking on Java &amp; Software Architecture Knowledge Hub</title><link>https://samirsahoo.github.io/design-patterns-hub/tags/networking/</link><description>Recent content in Networking 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/networking/index.xml" rel="self" type="application/rss+xml"/><item><title>Load Balancing and Proxies</title><link>https://samirsahoo.github.io/design-patterns-hub/system-design/building-blocks/load-balancing/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://samirsahoo.github.io/design-patterns-hub/system-design/building-blocks/load-balancing/</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;A &lt;strong&gt;load balancer (LB)&lt;/strong&gt; spreads incoming requests across a group of servers so that no single server is overloaded, and stops sending traffic to servers that are unhealthy. It improves &lt;strong&gt;scalability&lt;/strong&gt; (add servers behind it), &lt;strong&gt;availability&lt;/strong&gt; (route around failures) and &lt;strong&gt;responsiveness&lt;/strong&gt;.&lt;/p&gt;</description></item><item><title>The Trouble with Distributed Systems: Networks, Clocks and Partial Failure</title><link>https://samirsahoo.github.io/design-patterns-hub/data-systems/distributed-systems-faults/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://samirsahoo.github.io/design-patterns-hub/data-systems/distributed-systems-faults/</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;On a single computer, things either work or break completely: a bug or a hardware fault usually crashes the whole machine, and a deterministic program gives the same result each time. In a &lt;strong&gt;distributed system&lt;/strong&gt; — several computers communicating over a network — some parts can fail while others keep running. This is a &lt;strong&gt;partial failure&lt;/strong&gt;, and it is &lt;strong&gt;nondeterministic&lt;/strong&gt;: the same request may succeed, fail, or leave you not knowing which.&lt;/p&gt;</description></item><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>