<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: arshad. dev</title>
    <description>The latest articles on DEV Community by arshad. dev (@arshad_dev_31295cc9428e3).</description>
    <link>https://dev.to/arshad_dev_31295cc9428e3</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3994249%2F70915d50-aa36-4c71-b243-ed408da4eec3.png</url>
      <title>DEV Community: arshad. dev</title>
      <link>https://dev.to/arshad_dev_31295cc9428e3</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/arshad_dev_31295cc9428e3"/>
    <language>en</language>
    <item>
      <title>TCP: Handshake to reliability</title>
      <dc:creator>arshad. dev</dc:creator>
      <pubDate>Mon, 22 Jun 2026 01:22:34 +0000</pubDate>
      <link>https://dev.to/arshad_dev_31295cc9428e3/tcp-handshake-to-reliability-1dka</link>
      <guid>https://dev.to/arshad_dev_31295cc9428e3/tcp-handshake-to-reliability-1dka</guid>
      <description>&lt;p&gt;&lt;strong&gt;Introduction&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Imagine two people are on a phone call , without saying "hello" to each other , And without confirmation what they heard think about it messages can get overlap or lost and can be miss understood &lt;/p&gt;

&lt;p&gt;Computer networks faces the same problem, just take an example theres a two devices and one device just threwing the data to another one wihtout any rules, so communication would become messy,  unstructured &amp;amp; also unreliable.&lt;/p&gt;

&lt;p&gt;And this is where (TCP)&lt;strong&gt;Transmission Control Protocol&lt;/strong&gt; comes into the picture , its make sure the data which is traveliing has discipline , proper structure in ordering wihtout curroption &lt;br&gt;
it takes the responsibilities and confirmation to network communictaion so data arrives safely &lt;/p&gt;

&lt;p&gt;&lt;strong&gt;What is TCP and Why It Is Needed?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;TCP(transmision control protocol) is a foundtaional internet protocol that ensures devices can communicate reliably over a network. It cuts data into small packets, track them with sequence numvber and verifies their delivery so that nothing is lost or corrupted or missed a data packet &lt;/p&gt;

&lt;p&gt;TCP is just working internally to make sure : &lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;No a single data packet is lost &lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;data arrives in correct order sequence&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Guaranteed delivery &lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;flow &amp;amp; congestion control&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;what would happen wihtout tcp mordern internet services like web browsing ,emails, and file transfers would completely fail . Because TCP guarantees data arrives in a order and wihtout loosing it .&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;What problem TCP is designed to solve?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;the (TCP) was desinged to solve the problem of unreliable data communication across computer network , it provides a reliable , ordered , and error checked delivery.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Core problems TCP solves&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;data loss &amp;amp; Corruption (IP network can drop, dupicate or corrupt packets.)&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Out of order delivery  (each packet and reassemble them in the exact order they were sent.)&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Network Overload Congestion (sending data  too fats can overwhelm routers and cause packet loss.) &lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Recivers Overwhlem flow control (A fast sender can easily Overwhelm a slow recivers processing capabilities or memory buffers.)&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;What is the tcp 3 way handshake&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fml9941mrv0jjs09dhe4f.jpeg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fml9941mrv0jjs09dhe4f.jpeg" alt=" " width="471" height="467"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;it gaurantees both devices are ready to communicate and sets the stage for error-free data exchange , TCP makes connection between a client and a server before any acutal data is transferred,&lt;/p&gt;

&lt;p&gt;think of it like starting a conversation&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;Can we talk?&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Yes, we can talk&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Great, lets start&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;This setup process is called the 3-way handshake. It makes sure both sides are ready and agree on some initial numbers used to track data.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Step-by-Step Working of SYN, SYN-ACK, and ACK&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Lets understand this through a Phone call example&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;SYN(Synchronize) : you call a freind and say, "hello", can you here me?&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;2.SYN-ACK (Synchronize + Acknowledge) : your freind answers , "yes", I can hear you clearly! Can you here me ?&lt;/p&gt;

&lt;p&gt;3.ACK(Acknowledge) : you reply,"yes, I can hear you too!"&lt;/p&gt;

&lt;p&gt;After this, both sides trust each other and know where to start counting data from.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;How Data Transfer Works in TCP&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Data transfer in TCP works by breaking messages into manageble chunks called segments , and using a system of ACK to guarantee nothing is lost or out of order&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Example:&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;Chunk 1 -&amp;gt; number 1&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Chunk 2 -&amp;gt; number 2&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Chunk 3 -&amp;gt; number 3&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The entire process occurs in three main stages:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;Connection Eshtablishment (three-way HandShake)&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;The data transfer Phase&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Reliability &amp;amp; Flow control.&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;strong&gt;How TCP handles packet loss?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;TCP handles packet loss by detecting gaps in data delivery, resending the missing packets, and slowing down transmission speeds to ease network congetsion,Because TCP guarantees that every single byte arrives perfectly , it use 3 main ways to spot and fix a lost packet.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Fast Retransmit(The Quick Fix)&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;2.Retransmition TimeOut (the backup plan) &lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Adjusting Speed(congestion control)&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;This is how TCP avoids gaps in the final data.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;CONCLUSION&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;TCP turns messy internet traffic into a reliable data strem , by tracking every piece, resending lost data, and slowing down when networks get crowded it make sures nothing get corrupted. &lt;/p&gt;

</description>
    </item>
    <item>
      <title>linux commands</title>
      <dc:creator>arshad. dev</dc:creator>
      <pubDate>Sun, 21 Jun 2026 02:16:51 +0000</pubDate>
      <link>https://dev.to/arshad_dev_31295cc9428e3/linux-commands-39e6</link>
      <guid>https://dev.to/arshad_dev_31295cc9428e3/linux-commands-39e6</guid>
      <description>&lt;p&gt;&lt;strong&gt;what are commands&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;linux commands are text instructions used to interact with operating system through termilnal&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;help beginners understand and use linux terminal effectively &lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;useful for students , developers, and system administrators &lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Ff4yjy4b6y5wuogvwd1qi.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Ff4yjy4b6y5wuogvwd1qi.jpg" alt=" " width="800" height="400"&gt;&lt;/a&gt;&lt;/p&gt;

</description>
    </item>
    <item>
      <title>All about DNS (domain name system)</title>
      <dc:creator>arshad. dev</dc:creator>
      <pubDate>Sun, 21 Jun 2026 01:56:11 +0000</pubDate>
      <link>https://dev.to/arshad_dev_31295cc9428e3/all-about-dns-domain-name-system-44pp</link>
      <guid>https://dev.to/arshad_dev_31295cc9428e3/all-about-dns-domain-name-system-44pp</guid>
      <description>&lt;p&gt;&lt;strong&gt;DNS resolution&lt;/strong&gt;&lt;br&gt;
imagine you are chilling and you opened browser and entered &lt;a href="http://www.youtube.com" rel="noopener noreferrer"&gt;www.youtube.com&lt;/a&gt; &lt;br&gt;
in your browser , the system does not understand the name directly &lt;br&gt;
it translates it into ip adress of the server hoisting the website&lt;/p&gt;

&lt;p&gt;this allows browsewr connect to correct server &lt;/p&gt;

&lt;p&gt;&lt;strong&gt;How does it actually works ?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;WORKING : term(DNS) brokes into multiple steps , so user can access simply entering website name into their browser&lt;/p&gt;

&lt;p&gt;*&lt;em&gt;what happens internally *&lt;/em&gt;&lt;br&gt;
when user enters &lt;a href="http://www.youtube.com" rel="noopener noreferrer"&gt;www.youtube.com&lt;/a&gt; in their browser:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;root server&lt;/strong&gt;&lt;br&gt;
root server gives information who saves &lt;a href="http://www.youtube.com" rel="noopener noreferrer"&gt;www.youtube.com&lt;/a&gt; &lt;br&gt;
next it refers to (TLD) information&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;TLD&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;what is (TLD) Top level domain&lt;br&gt;
the TLD server directs the resolver to the domains Authoritative server.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Authoritative server response&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;the Authoritative server returns the actual IP address.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Final response&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;the resolver sends the IP back to the user , and the browser connects to the server&lt;/p&gt;

&lt;p&gt;and all these happens in under milli seconds&lt;/p&gt;

</description>
    </item>
    <item>
      <title>An article about hardware router , modem , switch , firewall , hub &amp; loadBalancer.</title>
      <dc:creator>arshad. dev</dc:creator>
      <pubDate>Sun, 21 Jun 2026 01:20:22 +0000</pubDate>
      <link>https://dev.to/arshad_dev_31295cc9428e3/an-article-about-hardware-router-modem-switch-firewall-hub-loadbalancer-11mf</link>
      <guid>https://dev.to/arshad_dev_31295cc9428e3/an-article-about-hardware-router-modem-switch-firewall-hub-loadbalancer-11mf</guid>
      <description>&lt;p&gt;&lt;strong&gt;Router&lt;/strong&gt;&lt;br&gt;
A router is a networking device that connects multiple computers and devices to each other and to the internet &lt;/p&gt;

&lt;p&gt;Example: when you access any web , request is broken into multiple parts in the form of packets , these packets dont travel directly to web &lt;br&gt;
there is a series of routers that checks and send them forward until they reach their correct destination &lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Modem&lt;/strong&gt;&lt;br&gt;
A modem is a hardware device that connects your home or office network to your internetServiceProvider(ISP)&lt;/p&gt;

&lt;p&gt;modem allows to connect only specific numbers of devices to the internet.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Diffrence between Modem VS router&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;in simple words , &lt;br&gt;
modem connects your home to the internet.&lt;br&gt;
router connects your devices to each other , creating a local area network(LAN)&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Switch&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;switch is a hardware device that connects multiple wired devices such as (computers , printers , and servers ) together in a single LAN(local area network)&lt;/p&gt;

&lt;p&gt;its responsible for filtering and forwarding the packets between local area network segments based on MAC address&lt;/p&gt;

&lt;p&gt;it transfers the data only to the device that has been addressed,&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Firewall&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;a firewall is a network security system , available as a hardware and software that checks incoming and outgoing  trafic based on protocols.&lt;/p&gt;

&lt;p&gt;in simple words : its like a security gaurd which filters the data packets &lt;br&gt;
if it accepts then allows the traffic , or reject them with an error response either block silently without response &lt;/p&gt;

&lt;p&gt;firewall is a barrier between (LAN) &amp;amp; (WAN)&lt;/p&gt;

&lt;p&gt;conclusion: all the packets incoming or outgoing in  network it should pass through the firewall&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;LoadBalancer&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;a loadbalancer behave like a traffic director for computer servers it sits between user and backend servers &lt;/p&gt;

&lt;p&gt;in simple words : a traffic cop routing client requests across all servers.&lt;/p&gt;

&lt;p&gt;benifits &lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;ensures server do not become overwhelmed &lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;prevent crashes .&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;speed up response at time. &lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;ensures high availability.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>webdev</category>
      <category>networking</category>
      <category>chaicode</category>
    </item>
  </channel>
</rss>
