<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Concept To Know In Networking]]></title><description><![CDATA[Concept To Know In Networking]]></description><link>https://concept-to-know-in-networking.hashnode.dev</link><generator>RSS for Node</generator><lastBuildDate>Thu, 25 Jun 2026 19:14:07 GMT</lastBuildDate><atom:link href="https://concept-to-know-in-networking.hashnode.dev/rss.xml" rel="self" type="application/rss+xml"/><language><![CDATA[en]]></language><ttl>60</ttl><item><title><![CDATA[Internet Flow To Users.]]></title><description><![CDATA[Definition.
Now we know what is term internet & how it was used in 70’s it became global in late 1991 as The term WWW came to existence (World Wide Web) A system that runs on top of internet that lets you access the information through an interface c...]]></description><link>https://concept-to-know-in-networking.hashnode.dev/internet-flow-to-users</link><guid isPermaLink="true">https://concept-to-know-in-networking.hashnode.dev/internet-flow-to-users</guid><category><![CDATA[ChaiCode]]></category><category><![CDATA[Chaiaurcode]]></category><category><![CDATA[networking]]></category><category><![CDATA[ChaiCohort]]></category><dc:creator><![CDATA[Sagar Sulikeri]]></dc:creator><pubDate>Mon, 26 Jan 2026 09:57:24 GMT</pubDate><content:encoded><![CDATA[<h2 id="heading-definition">Definition.</h2>
<p>Now we know what is term internet &amp; how it was used in 70’s it became global in late 1991 as The term WWW came to existence (World Wide Web) A system that runs on top of internet that lets you access the information through an interface called as (websites , webpages) that contains the information that an user needs.</p>
<h2 id="heading-what-is-a-modem"><strong>What is a Modem?</strong></h2>
<p>A modem is a device that acts as a medium between the user and the ISP (Internet Service Provider). It converts the signals sent by the ISP into digital data that computers and other devices can understand.</p>
<hr />
<h3 id="heading-modem-workflow"><strong>Modem Workflow</strong></h3>
<ul>
<li><p>ISP sends signals (via fiber, cable, or phone line).</p>
</li>
<li><p>Modem receives the signal.</p>
</li>
<li><p>Modem converts the signal into digital data.</p>
</li>
<li><p>Data is sent to the router.</p>
</li>
</ul>
<hr />
<h3 id="heading-what-is-a-router"><strong>What is a Router?</strong></h3>
<p>A router is a device that connects multiple devices to the internet. It receives digital data from the modem and sends it to the correct device such as laptops, mobiles, or TVs.</p>
<hr />
<h3 id="heading-router-workflow"><strong>Router Workflow</strong></h3>
<ul>
<li><p>Router receives internet data in the form of packets.</p>
</li>
<li><p>Each packet contains a destination IP address.</p>
</li>
<li><p>Router reads the destination IP address.</p>
</li>
<li><p>It selects the best available path.</p>
</li>
<li><p>The packet is forwarded to the destination device.</p>
</li>
</ul>
<hr />
<h3 id="heading-what-is-a-packet"><strong>What is a Packet?</strong></h3>
<p>A packet is a small unit of internet data made up of bits.<br />Internet data is sent packet by packet instead of all at once to prevent network overload and enable high-speed communication.</p>
]]></content:encoded></item><item><title><![CDATA[1.What is a Router and how it directs traffic?]]></title><description><![CDATA[Router.
The term router is an device that converts the signals of modem into the signals that can be received to your peripheral devices i e (mobile, laptop , tab) & much more router is the mediator between the signals that are understood by the rout...]]></description><link>https://concept-to-know-in-networking.hashnode.dev/1what-is-a-router-and-how-it-directs-traffic</link><guid isPermaLink="true">https://concept-to-know-in-networking.hashnode.dev/1what-is-a-router-and-how-it-directs-traffic</guid><category><![CDATA[ChaiCode]]></category><category><![CDATA[Chaiaurcode]]></category><category><![CDATA[#chaico]]></category><dc:creator><![CDATA[Sagar Sulikeri]]></dc:creator><pubDate>Mon, 26 Jan 2026 09:56:30 GMT</pubDate><content:encoded><![CDATA[<h2 id="heading-router">Router.</h2>
<p>The term router is an device that converts the signals of modem into the signals that can be received to your peripheral devices i e (mobile, laptop , tab) &amp; much more router is the mediator between the signals that are understood by the router itself so that it can direct the flow of network to the mobile &amp; laptops.</p>
<h3 id="heading-how-the-router-directs-the-traffic-of-signals">How The Router Directs The Traffic Of Signals.</h3>
<p>In basic terms consider the router as an google map which will show you the shortest path possible to your destination so that you can reach faster.</p>
<p>Now the router does also the same process.</p>
<ol>
<li><p>It receives the signals from the (modem which receives signals from the ISP jio , airtel)</p>
</li>
<li><p>Now those signals cannot be directly sent to the mobile or laptop.</p>
</li>
<li><p>Here comes the router the mediator(saviour)</p>
</li>
<li><p>Router Transforms the data packets information to bits</p>
</li>
<li><p>The bits now locates the Destination IP address of the target</p>
</li>
<li><p>It now searches for the shortest path possible so that the data can be received faster.</p>
</li>
<li><p>When the path is found it will send the data to local device &amp; keeps on sending the net ie data packets to the receiver.</p>
</li>
</ol>
<h2 id="heading-2switch-vs-hub-how-local-networks-actually-work">2.Switch vs Hub: how local networks actually work?</h2>
<p>In a local area network, devices like computers and printers need a device to connect and communicate with each other. Hub and switch are two such devices used for this purpose. Even though both are used in LAN, the way they handle data is very different which affects speed and performance of network.</p>
<p>Here Are the Points To Understand.</p>
<ul>
<li><p>A <strong>hub</strong> sends the data to all connected devices even if only one device needs it, this creates lot of unnecessary traffic.</p>
</li>
<li><p>Because hub sends data everywhere, collisions can happen when two devices sends data at same time.</p>
</li>
<li><p>A <strong>switch</strong> is more intelligent and sends data only to the specific device using MAC address.</p>
</li>
<li><p>Switch reduces network traffic and improves overall speed and efficiency.</p>
</li>
<li><p>Today hubs are mostly outdated and switches are commonly used in home and office networks.</p>
</li>
</ul>
<h2 id="heading-3-what-is-a-firewall-and-why-security-lives-here">3. What is a Firewall and why security lives here?</h2>
<p>A firewall is a security device or software that helps protect a network from unwanted access. It works like a gatekeeper between your internal network and the outside world like internet. Whenever data tries to enter or leave the network, firewall checks it based on certain rules and then decides whether to allow it or block it. This is why most of the network security actually lives at firewall level.</p>
<ul>
<li><p>Firewall monitors incoming and outgoing network traffic all the time.</p>
</li>
<li><p>It blocks unauthorised access while allowing trusted data to pass through.</p>
</li>
<li><p>Firewalls can be hardware based or software based depending on usage.</p>
</li>
<li><p>Without firewall, network becomes open and easy target for attackers.</p>
</li>
<li><p>Almost every organisation uses firewall as first layer of security.</p>
</li>
</ul>
<h2 id="heading-4-what-is-a-load-balancer-and-why-scalable-systems-need-it">4 . What is a Load Balancer and why scalable systems need it?</h2>
<p>A load balancer is a networking component that distributes incoming traffic across multiple servers. Instead of sending all requests to one server, it spreads the load so that no single server gets overloaded. This helps systems handle more users and requests smoothly, which is very important when an application starts growing and gets more traffic.</p>
<ul>
<li><p>Load balancer receives requests from users and forwards them to different servers.</p>
</li>
<li><p>It helps in improving performance and response time of the system.</p>
</li>
<li><p>If one server goes down, load balancer can redirect traffic to other working servers.</p>
</li>
<li><p>This makes the system more reliable and fault tolerant.</p>
</li>
<li><p>Scalable systems needs load balancer to handle high traffic without crashing.</p>
</li>
</ul>
<h2 id="heading-5-how-all-these-devices-work-together-in-a-real-world-setup">5. How all these devices work together in a real-world setup?</h2>
<p>Imagine a company office where many employees are using internet, accessing files and working on an internal application. All the computers are connected to one network and users expect fast and secure access all the time. To make this possible, different networking devices are used together and each one handles a specific job in the network.</p>
<ul>
<li><p>A switch connects all employee systems and helps them communicate inside the local network.</p>
</li>
<li><p>A firewall is placed between the office network and internet to block unwanted or harmful traffic.</p>
</li>
<li><p>A load balancer manages incoming requests and sends them to different servers evenly.</p>
</li>
<li><p>If one server fails, load balancer redirects traffic to other servers.</p>
</li>
</ul>
<p>This setup keeps the network secure, fast and reliable for daily usage.</p>
<hr />
<p>Head Out To Next Article To Read More.</p>
]]></content:encoded></item><item><title><![CDATA[How All Things Work.]]></title><description><![CDATA[Start with a high-level view of how the internet reaches a home or office
 
 When you open a website at home or in an office, it may feel instant but lot of things happens in background. Internet does not directly come to your device, it passes throu...]]></description><link>https://concept-to-know-in-networking.hashnode.dev/how-all-things-work</link><guid isPermaLink="true">https://concept-to-know-in-networking.hashnode.dev/how-all-things-work</guid><category><![CDATA[ChaiCode]]></category><category><![CDATA[ChaiCohort]]></category><dc:creator><![CDATA[Sagar Sulikeri]]></dc:creator><pubDate>Mon, 26 Jan 2026 09:55:48 GMT</pubDate><content:encoded><![CDATA[<ol>
<li><p>Start with a high-level view of how the internet reaches a home or office</p>
<p> <img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1769401150254/70a9b779-b47c-4887-96b5-85d12637a6fb.avif" alt class="image--center mx-auto" /></p>
<p> When you open a website at home or in an office, it may feel instant but lot of things happens in background. Internet does not directly come to your device, it passes through multiple stages and devices before reaching you. From service provider to your local network, each component plays a role in delivering internet smoothly.</p>
<ul>
<li><p>Internet starts from an ISP which provides connectivity to homes and offices.</p>
</li>
<li><p>The connection reaches a modem which converts signals into usable digital data.</p>
</li>
<li><p>A router receives this data and decides where to send it inside the network.</p>
</li>
<li><p>Switch connects multiple devices like computers and printers within the network.</p>
</li>
<li><p>Firewall protects the network by filtering unwanted traffic from internet.</p>
</li>
</ul>
</li>
</ol>
<h2 id="heading-2-explain-each-device-in-isolation-with-a-simple-responsibility-first-approach">2 Explain each device in isolation with a simple responsibility-first approach.</h2>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1769401327964/795e0f58-4c93-4b9f-9ac7-466efa63dba6.png" alt class="image--center mx-auto" /></p>
<h2 id="heading-here-are-the-points-that-explain-how-things-work"><em>Here Are The Points That Explain How Things Work</em></h2>
<h2 id="heading-networking-devices-and-their-responsibilities-simple-view">Networking Devices and Their Responsibilities (Simple View)</h2>
<p>Internet connectivity works because different devices handle different jobs. Each device has a clear responsibility and does not try to do everything. Understanding them one by one makes networking much easier instead of confusing.</p>
<h3 id="heading-internet-service-provider-isp">Internet Service Provider (ISP)</h3>
<p>ISP is the company that provides internet connection to homes and offices. It acts as the starting point of internet access. Without ISP, your network will stay local only.</p>
<h3 id="heading-modem">Modem</h3>
<p>Modem’s main responsibility is to convert signals from ISP into digital data that computers can understand. It acts like a translator between internet line and your network. Without modem, router cannot receive internet.</p>
<h3 id="heading-router">Router</h3>
<p>Router decides where the data should go inside the network. It connects your local network to the internet and routes traffic to correct device. Router also allows multiple devices to share one internet connection.</p>
<h3 id="heading-switch">Switch</h3>
<p>Switch is used to connect multiple devices inside a local network. Its responsibility is to send data only to the correct device instead of everyone. This makes internal communication faster and clean.</p>
<h3 id="heading-firewall">Firewall</h3>
<p>Firewall’s job is to protect the network from unwanted access. It checks incoming and outgoing traffic and blocks suspicious data. Firewall acts like a security guard for the network.</p>
<h3 id="heading-load-balancer">Load Balancer</h3>
<p>Load balancer distributes traffic across multiple servers. Its responsibility is to avoid overloading a single server. This helps systems stay available even during high traffic.</p>
<h2 id="heading-3clearly-differentiate-between-similar-devices-hub-vs-switch-router-vs-modem">3.Clearly differentiate between similar devices (hub vs switch, router vs modem)</h2>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1769401592017/f2175158-8615-4f3f-9597-6de5229411b8.jpeg" alt class="image--center mx-auto" /></p>
<h2 id="heading-these-are-day-to-day-devices-that-help-us-to-find-the-internet-amp-use-it">These Are Day To Day Devices That Help Us To Find The Internet &amp; Use It.</h2>
<p>Here Are The Points To Understand A Table Wise Structure to Decode Everything.</p>
<h2 id="heading-difference-between-hub-and-switch"><em>Difference Between Hub and Switch.</em></h2>
<div class="hn-table">
<table>
<thead>
<tr>
<td>Feature</td><td>Hub</td><td>Switch</td></tr>
</thead>
<tbody>
<tr>
<td>Basic role</td><td>Hub connects multiple devices together</td><td>Switch connects devices in a smarter way</td></tr>
<tr>
<td>Data handling</td><td>Sends data to all connected devices</td><td>Sends data only to intended device</td></tr>
<tr>
<td>Traffic</td><td>Creates lot of unnecessary traffic</td><td>Reduces network traffic</td></tr>
<tr>
<td>Speed</td><td>Slow due to collisions</td><td>Faster and efficient</td></tr>
<tr>
<td>Usage today</td><td>Mostly outdated</td><td>Commonly used in LAN</td></tr>
</tbody>
</table>
</div><hr />
<h2 id="heading-difference-between-router-and-modem">Difference Between Router and Modem</h2>
<div class="hn-table">
<table>
<thead>
<tr>
<td>Feature</td><td>Modem</td><td>Router</td></tr>
</thead>
<tbody>
<tr>
<td>Main responsibility</td><td>Converts ISP signals into digital data</td><td>Routes data between devices and internet</td></tr>
<tr>
<td>Connection</td><td>Connects directly to ISP line</td><td>Connects to modem and local devices</td></tr>
<tr>
<td>Internet sharing</td><td>Cannot share internet alone</td><td>Allows multiple devices to use internet</td></tr>
<tr>
<td>Decision making</td><td>Does not decide data path</td><td>Decides where data should go</td></tr>
<tr>
<td>Need in network</td><td>Required to get internet</td><td>Required to manage network traffic</td></tr>
</tbody>
</table>
</div><h2 id="heading-4-use-real-world-analogies-small-company-analogy">4 . Use real-world analogies (Small Company Analogy)</h2>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1769401939678/c911c787-56e4-4d9f-b8d1-2f9d9eadf079.jpeg" alt class="image--center mx-auto" /></p>
<h2 id="heading-here-we-can-see-the-working-of-small-company">Here We Can See The Working Of Small Company.</h2>
<h2 id="heading-internet-connection-isp-to-office">Internet Connection (ISP to Office)</h2>
<p>In this setup, internet starts from the ISP and reaches the company through a physical connection. This is the entry point of internet into the office network. Without this connection, the company network will only work locally and cannot access online services.</p>
<h2 id="heading-modem-1">Modem</h2>
<p>The modem is responsible for converting the signals coming from the ISP into digital data. Computers and networking devices cannot understand raw ISP signals directly. So modem acts as a translator between internet line and office network.</p>
<h2 id="heading-router-1">Router</h2>
<p>Router connects the office network to the internet and decides where the data should go. When employees access websites or applications, router routes the requests correctly. It also allows multiple devices to share the same internet connection.</p>
<h2 id="heading-firewall-1">Firewall</h2>
<p>Firewall is placed between the router and internal network for security purpose. It checks incoming and outgoing traffic and blocks suspicious or unauthorised access. This helps protect company data from external attacks.</p>
<h2 id="heading-switch-1">Switch</h2>
<p>Switch connects all employee systems like computers, printers and internal devices. Its job is to send data only to the required device instead of broadcasting everywhere. This keeps internal communication fast and organised.</p>
<h2 id="heading-load-balancer-and-servers">Load Balancer and Servers</h2>
<p>For company applications, multiple servers are used instead of a single server. Load balancer sits in front of these servers and distributes incoming requests evenly. This prevents server overload and ensures applications remain available even during high usage.</p>
<h2 id="heading-5-show-where-these-devices-sit-in-a-typical-system-architecture">5. Show where these devices sit in a typical system architecture</h2>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1769402185165/6a47e047-3b01-4936-9b53-9884936ab0a9.png" alt class="image--center mx-auto" /></p>
<p>You Can See The Diagram Now Read Explaination.</p>
<h2 id="heading-internet-users-and-external-access">Internet (Users and External Access)</h2>
<p>In this figure, users from outside the company access applications through the internet. All requests originate from here and are treated as untrusted. Because of this, traffic coming from internet is always checked before entering the company network.</p>
<h2 id="heading-modem-2">Modem</h2>
<p>Modem is placed at the edge of the company setup. It receives the internet connection from the ISP and converts signals into digital data. This allows internal networking devices to understand incoming data.</p>
<h2 id="heading-router-2">Router</h2>
<p>Router sits just after the modem in the architecture. It connects the company’s internal network to the internet. Router manages traffic direction and helps multiple internal devices share the same internet connection.</p>
<h2 id="heading-firewall-2">Firewall</h2>
<p>Firewall is positioned between router and internal company network. Its responsibility is to filter incoming and outgoing traffic. This layer protects company systems from unauthorised access and external threats.</p>
<h2 id="heading-switch-office-network-layer">Switch (Office Network Layer)</h2>
<p>Switch is placed inside the office network. It connects employee computers, printers and internal systems. Switch ensures data reaches the correct device and keeps internal communication fast.</p>
<h2 id="heading-load-balancer-1">Load Balancer</h2>
<p>Load balancer sits in front of the company servers. All application requests first reach the load balancer. It distributes traffic evenly across servers so no single server gets overloaded.</p>
<h2 id="heading-application-servers">Application Servers</h2>
<p>These servers handle company applications and user requests. Multiple servers are used for better performance and availability. If one server fails, others continue working.</p>
<h2 id="heading-internal-data-storage">Internal Data Storage</h2>
<p>Data related to company operations is stored at the backend. Access to this layer is limited and controlled. This helps keep sensitive company data safe.</p>
<h2 id="heading-6-keeping-the-explanation-hardware-focused-but-relevant-for-software-engineers">6. Keeping the explanation hardware-focused but relevant for software engineers</h2>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1769402416514/485ab688-f70a-4b19-a7aa-db12fc6997e6.avif" alt class="image--center mx-auto" /></p>
<p>Keeping The Explaination In Point Wise Way.</p>
<h2 id="heading-internet-external-hardware-side">Internet (External Hardware Side)</h2>
<p>In this setup, internet is the external hardware level where all user requests starts. From a software engineer view, this is where API calls and HTTP requests are coming from. Hardware wise, this part is totally outside company control so it is treated as unsafe.</p>
<h2 id="heading-modem-3">Modem</h2>
<p>Modem is a physical hardware device placed at the entry of the company network. Its only job is to convert ISP signals into digital data that routers and systems can understand. Even if your software is perfect, without modem data will never reach your system.</p>
<h2 id="heading-router-3">Router</h2>
<p>Router is a core networking hardware device that decides where packets should go. It handles IP addressing and routing tables. For software engineers, router decides how your backend server actually recieves the request from internet.</p>
<h2 id="heading-firewall-3">Firewall</h2>
<p>Firewall is a dedicated security hardware sitting between router and internal network. It blocks unauthorised traffic before it even touches your application. This is why sometimes backend APIs fail even when code is correct, firewall rules may block it.</p>
<h2 id="heading-switch-internal-hardware-layer">Switch (Internal Hardware Layer)</h2>
<p>Switch is internal networking hardware used to connect multiple machines. It works using MAC address and sends data only where needed. From software side, switch ensures low latency communication between services running on different machines.</p>
<h2 id="heading-load-balancer-hardware-entry-for-apps">Load Balancer (Hardware Entry for Apps)</h2>
<p>Load balancer is often a physical hardware appliance in small companies. All user traffic hits this device first before reaching servers. For software engineers, this affects session handling, request routing and scalability logic.</p>
<h2 id="heading-application-servers-physical-machines">Application Servers (Physical Machines)</h2>
<p>These are actual hardware machines where backend code runs. CPU, RAM and disk directly affect application performance. If hardware resources are weak, even optimized code will struggle.</p>
<h2 id="heading-data-storage-hardware">Data Storage Hardware</h2>
<p>Data is stored on dedicated storage machines or disks. Access to this hardware is limited for security. For software engineers, slow disks or hardware failure can cause major app issues even if queries are written properly.</p>
<h2 id="heading-7-ending-by-connecting-these-concepts-to-backend-systems-and-production-deployments">7 .Ending by connecting these concepts to backend systems and production deployments</h2>
<h2 id="heading-connection-to-backend-systems">Connection to Backend Systems</h2>
<p>All these hardware devices directly affect how backend systems behave in real world. When a user hits an API, the request does not magically reach the backend code. It travels through modem, router, firewall, switch and load balancer before touching the server where backend is running. If any hardware layer is slow or misconfigured, backend response will also feel slow even if code is correct.</p>
<h2 id="heading-role-in-production-deployments">Role in Production Deployments</h2>
<p>In production deployment, backend applications are not run on a single machine. Multiple physical servers are used for reliability and scale. Load balancer decides which server will handle the request, while firewall controls which APIs are allowed from outside. This is why backend engineers must understand hardware flow, otherwise debugging production issues becomes very hard.</p>
<h2 id="heading-why-software-engineers-should-care">Why Software Engineers Should Care</h2>
<p>Many production bugs are not code bugs but infra or hardware related. API timeout can be due to firewall rules, server crash can be due to hardware overload, and slow response can be due to poor load balancing. Knowing where devices sit helps backend engineers write better scalable and fault tolerant systems.</p>
<h2 id="heading-final-view">Final View</h2>
<p>Backend systems and production deployments work on top of networking hardware. Code runs on machines, machines sit behind switches, switches behind firewalls, and everything depends on proper routing and balancing. Understanding this full picture helps software engineers move from local coding to real production systems confidently.</p>
]]></content:encoded></item><item><title><![CDATA[Devices.]]></title><description><![CDATA[1. Understanding The Devices Terms.

Internet (External Users)
In the 2nd figure, all users access the company applications from internet. Requests like website access or API calls start from here. Since this is outside the company, traffic from inte...]]></description><link>https://concept-to-know-in-networking.hashnode.dev/devices</link><guid isPermaLink="true">https://concept-to-know-in-networking.hashnode.dev/devices</guid><category><![CDATA[ChaiCode]]></category><category><![CDATA[Chaiaurcode]]></category><category><![CDATA[ChaiCohort]]></category><dc:creator><![CDATA[Sagar Sulikeri]]></dc:creator><pubDate>Mon, 26 Jan 2026 09:55:01 GMT</pubDate><content:encoded><![CDATA[<h1 id="heading-1-understanding-the-devices-terms">1. Understanding The Devices Terms.</h1>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1769402707950/5c2f1653-d348-4d61-b5b9-fefc4589f810.png" alt class="image--center mx-auto" /></p>
<h2 id="heading-internet-external-users">Internet (External Users)</h2>
<p>In the 2nd figure, all users access the company applications from internet. Requests like website access or API calls start from here. Since this is outside the company, traffic from internet is considered unsafe by default.</p>
<h2 id="heading-modem">Modem</h2>
<p>Modem is the first hardware device inside the company boundary. It recieves the connection from ISP and converts signals into digital data. This makes the internet usable for internal networking devices.</p>
<h2 id="heading-router">Router</h2>
<p>Router is placed after the modem in this setup. It connects the company network to internet and manages routing of packets. From backend view, router decides how user requests actually reaches company servers.</p>
<h2 id="heading-firewall">Firewall</h2>
<p>Firewall comes next in the flow and acts as a security checkpoint. It filters all incoming and outgoing traffic based on rules. Many times backend issues happens here if ports or IPs are blocked by firewall.</p>
<h2 id="heading-switch-internal-office-network">Switch (Internal Office Network)</h2>
<p>Switch connects employee systems, internal tools and server machines. It handles internal traffic using MAC addresses. This ensures fast communication between office devices and backend servers.</p>
<h2 id="heading-load-balancer">Load Balancer</h2>
<p>Load balancer sits in front of application servers in the 2nd figure. All user requests first hit this device. It distributes traffic evenly so one server does not get overloaded.</p>
<h2 id="heading-application-servers">Application Servers</h2>
<p>These are physical machines where backend code is deployed. They process requests and send responses back through the same flow. Multiple servers are used for scalability and fault tolerance.</p>
<h2 id="heading-data-storage-systems">Data Storage Systems</h2>
<p>Data is stored at backend storage level. Direct access from internet is not allowed. Application servers communicate with storage internally for security and performance reasons.</p>
<h2 id="heading-2-hub-vs-switch-packet-broadcast-comparison">2. Hub vs Switch packet broadcast comparison</h2>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1769402842608/ffa1585e-8279-40aa-b0f3-a4406368d72f.webp" alt class="image--center mx-auto" /></p>
<h2 id="heading-explanation-according-to-the-diagram-hub-vs-switch">Explanation According to the Diagram (Hub vs Switch)</h2>
<p><em>In the left side of the diagram, a</em> <strong><em>hub</em></strong> <em>is shown in the center with many devices connected to it. One device is marked as sender and all other devices are receivers. When the sender sends a packet, the hub does not know who the actual receiver is. So the hub sends the same packet to</em> <strong><em>all connected devices</em></strong> <em>(A, B, C, D, E, F, G, H). Even devices that are not supposed to get the data will recieve it. This is why many arrows are shown going out from the hub to every device.</em></p>
<p><em>In the right side of the diagram, a</em> <strong><em>switch</em></strong> <em>is shown in the center. Here also one device is sender, but when it sends a packet, the switch checks the destination address. The switch already knows which device should recieve the packet. So it sends the packet</em> <strong><em>only to device C*</em></strong>, which is the intended receiver. Other devices like A, B, D, E, F, G, H do not get the packet at all. This is why only one arrow is highlighted in the switch diagram.*</p>
<p><em>In this diagram, both hub and switch are shown connecting multiple devices in a local network. One device acts as sender and others act as receivers. The main purpose of the diagram is to show how data packets are handled differently by hub and switch when a sender sends data. Even though both look similar in connection, the way data flows is completely different.</em></p>
<h3 id="heading-difference-between-hub-and-switch-based-on-diagram">Difference Between Hub and Switch (Based on Diagram)</h3>
<div class="hn-table">
<table>
<thead>
<tr>
<td>Hub</td><td>Switch</td></tr>
</thead>
<tbody>
<tr>
<td>Hub sends packet to all connected devices</td><td>Switch sends packet only to intended device</td></tr>
<tr>
<td>All receivers A, B, C, D, E, F, G, H get the data</td><td>Only receiver C gets the data</td></tr>
<tr>
<td>Hub does not know destination address</td><td>Switch checks destination using MAC address</td></tr>
<tr>
<td>Creates lot of unwanted traffic</td><td>Avoids unnecessary traffic</td></tr>
<tr>
<td>Chances of collision are high</td><td>Collisions are very less</td></tr>
<tr>
<td>Slower and inefficient</td><td>Faster and efficient</td></tr>
</tbody>
</table>
</div><h2 id="heading-3-firewall-placement-in-a-network-how-it-works">3. Firewall placement in a network How It Works.</h2>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1769403047868/7e381ea1-3932-4933-b496-3e54286de498.webp" alt class="image--center mx-auto" /></p>
<h2 id="heading-internet-untrusted-zone">Internet (Untrusted Zone)</h2>
<p>In the 2nd figure, internet is shown as the outer most part of the network. All user requests and traffic comes from here. Since this area is outside the company, it is always treated as untrusted and risky.</p>
<h2 id="heading-modem-and-router-layer">Modem and Router Layer</h2>
<p>After internet, the connection reaches the modem and router. Modem converts ISP signals and router manages routing. At this stage, traffic is still not allowed to directly reach company systems, it only prepares the data to move forward.</p>
<h2 id="heading-firewall-placement">Firewall Placement</h2>
<p>Firewall is placed <strong>after the router and before the internal company network</strong> in the 2nd figure. This position allows firewall to inspect all incoming and outgoing traffic. Any unauthorised request is blocked here before it can reach office devices or servers.</p>
<h2 id="heading-internal-network-trusted-zone">Internal Network (Trusted Zone)</h2>
<p>Behind the firewall lies the internal network which includes switches, employee systems and servers. Because firewall filters traffic, this zone is considered more trusted. Only allowed data is permitted to enter this part of the network.</p>
<h2 id="heading-servers-and-applications-protection">Servers and Applications Protection</h2>
<p>In the figure, servers are placed behind the firewall. This ensures backend systems are never directly exposed to internet. Even if someone targets the server, firewall rules stop access unless explicitly allowed.</p>
<h2 id="heading-4-load-balancer-distributing-traffic-across-multiple-servers">4. Load balancer distributing traffic across multiple servers.</h2>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1769403249323/7e19e64f-1636-41aa-b5f3-e1b8b63fee40.png" alt class="image--center mx-auto" /></p>
<p>Real World Load Balancing Is Distributed In This Way.</p>
<div class="hn-table">
<table>
<thead>
<tr>
<td>Layer / Side</td><td>What is Shown in Figure</td><td>Explanation</td></tr>
</thead>
<tbody>
<tr>
<td>End Users</td><td>Users connecting to Load Balancer 1</td><td>End users send requests like website access or API calls. These requests do not go directly to servers. They first reach Load Balancer 1, which handles large number of incoming connections.</td></tr>
<tr>
<td>Load Balancer 1</td><td>First load balancer between users and backend</td><td>Load Balancer 1 distributes user traffic across multiple backend servers. It prevents one backend server from getting overloaded. This helps handle high user traffic smoothly.</td></tr>
<tr>
<td>Backend Servers</td><td>Group of application servers</td><td>Backend servers run the actual application logic. Each server processes requests independently. Requests are shared so backend stays fast and responsive even under load.</td></tr>
<tr>
<td>Load Balancer 2</td><td>Second load balancer between backend and database</td><td>Load Balancer 2 manages traffic coming from backend servers. It decides which database server should handle the request. This avoids overloading a single database.</td></tr>
<tr>
<td>Database Servers</td><td>Multiple database machines</td><td>Database servers store application data. Load Balancer 2 distributes database queries across them. This improves performance and provides fault tolerance if one DB fails.</td></tr>
</tbody>
</table>
</div><h2 id="heading-5-end-to-end-network-architecture-of-a-web-application">5. End-to-end network architecture of a web application</h2>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1769403625487/85037310-dcb1-48f0-9711-134266ef3209.png" alt class="image--center mx-auto" /></p>
<p>This Diagram Explains How The Web App Works.</p>
<h3 id="heading-1-dns-domain-name-system">1. DNS (Domain Name System)</h3>
<p>DNS is the very first step when a user opens a website. When user types a domain name in browser, DNS converts that name into an IP address. Without DNS, browser would not know where the web application is hosted. This step happens before any request reaches the server.</p>
<h3 id="heading-users-browser">User’s Browser</h3>
<p>The browser is where the request is created. User actions like clicking buttons or loading pages generate HTTP requests. Browser sends these requests to the server and also receives responses like HTML, CSS, JS and data.</p>
<h3 id="heading-2-load-balancer">2. Load Balancer</h3>
<p>After DNS resolution, the request reaches the load balancer. Load balancer is the main entry point of the application. It distributes incoming traffic across multiple web app servers. This prevents one server from getting overloaded and helps scale the application.</p>
<h3 id="heading-web-app-servers">Web App Servers</h3>
<p>Web app servers contain the actual backend code. These servers handle authentication, business logic and API processing. Multiple servers are used so that application remains available even if one server fails.</p>
<h3 id="heading-4-database">4. Database</h3>
<p>Database stores all important application data like user info, orders and records. Web app servers communicate with database to read and write data. Database is not directly exposed to users for security reasons.</p>
<h3 id="heading-5-caching-service">5. Caching Service</h3>
<p>Caching service is used to store frequently accessed data in memory. This reduces load on database and improves response time. Instead of hitting database every time, app server first checks cache.</p>
<h3 id="heading-6a-job-queue">6a. Job Queue</h3>
<p>Job queue is used for background tasks. Tasks like sending emails or processing large data are added to queue. This helps keep main application fast and responsive.</p>
<h3 id="heading-6b-job-servers">6b. Job Servers</h3>
<p>Job servers pick tasks from job queue and execute them. These tasks run asynchronously and do not block user requests. This is very important for scalable systems.</p>
<h3 id="heading-7-full-text-search-service">7. Full Text Search Service</h3>
<p>This service is used for search functionality. It allows fast searching across large datasets. Instead of querying database directly, search queries are handled by this dedicated service.</p>
<h3 id="heading-8-services-microservices-external-services">8. Services (Microservices / External Services)</h3>
<p>Services represent additional components or microservices. These can be payment services, notification systems or third-party APIs. Web app servers communicate with these services as needed.</p>
<h3 id="heading-9a-data-firehose">9a. Data Firehose</h3>
<p>Data firehose collects application events and logs. It streams data continuously for analytics or monitoring. This data is not used for user requests but for system insights.</p>
<h3 id="heading-9b-copy-data">9b. Copy Data</h3>
<p>Data is copied from firehose to storage systems. This allows long-term analysis and reporting. Copying happens asynchronously.</p>
<h3 id="heading-9c-data-warehouse">9c. Data Warehouse</h3>
<p>Data warehouse stores processed analytics data. It is used for reporting, dashboards and business intelligence. Normal application flow does not depend on this layer.</p>
<h3 id="heading-10-cloud-storage">10. Cloud Storage</h3>
<p>Cloud storage is used to store static files like images, videos and backups. Web app servers upload files here and users download them when needed. This reduces load on app servers.</p>
<h3 id="heading-11-cdn-content-delivery-network">11. CDN (Content Delivery Network)</h3>
<p>CDN serves static content from locations closer to users. Instead of fetching files from main server every time, CDN delivers cached content. This improves speed and reduces latency.</p>
<hr />
<h2 id="heading-overall-flow-summary">Overall Flow Summary</h2>
<p>User → DNS → Load Balancer → Web App Servers → Cache / Database / Services<br />Static content → Cloud Storage → CDN → User<br />Background work → Job Queue → Job Servers<br />Analytics → Firehose → Data Warehouse</p>
<hr />
<h2 id="heading-why-this-architecture-is-used">Why This Architecture Is Used</h2>
<p>This architecture supports scalability, security and performance. Each component has a single responsibility. Backend engineers must understand this flow because many production issues are caused by caching, load balancing or networking, not just code bugs.</p>
]]></content:encoded></item><item><title><![CDATA[Understanding Internet.]]></title><description><![CDATA[1 What is Internet?
Before diving into networking or concepts of networking did you ask yourself what’s the term internet is?
why it is internet & why is it important.
Well basically the internet was used in late 1970’s it was used as to connect as O...]]></description><link>https://concept-to-know-in-networking.hashnode.dev/understanding-internet</link><guid isPermaLink="true">https://concept-to-know-in-networking.hashnode.dev/understanding-internet</guid><category><![CDATA[ChaiCode]]></category><dc:creator><![CDATA[Sagar Sulikeri]]></dc:creator><pubDate>Mon, 26 Jan 2026 05:05:30 GMT</pubDate><content:encoded><![CDATA[<h1 id="heading-1-what-is-internet">1 What is Internet?</h1>
<p>Before diving into networking or concepts of networking did you ask yourself what’s the term internet is?</p>
<p>why it is internet &amp; why is it important.</p>
<p>Well basically the internet was used in late 1970’s it was used as to connect as One big machine to another big machine sharing computing power it was mainframe back then as connection would go from cities to states or states to cities mainly only available for the scientists for scientific research mainly controlled by the government it was not available for civilians not for the public purpose.</p>
<p>It was mainly for research &amp; researchers.</p>
]]></content:encoded></item></channel></rss>