<?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: Padmesh</title>
    <description>The latest articles on DEV Community by Padmesh (@padmesh21).</description>
    <link>https://dev.to/padmesh21</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%2F3996010%2F9b0e527d-0a16-4c55-a71b-c3b13ee5f03f.png</url>
      <title>DEV Community: Padmesh</title>
      <link>https://dev.to/padmesh21</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/padmesh21"/>
    <language>en</language>
    <item>
      <title>Short Polling &amp; Long Polling Concepts</title>
      <dc:creator>Padmesh</dc:creator>
      <pubDate>Mon, 22 Jun 2026 04:19:11 +0000</pubDate>
      <link>https://dev.to/padmesh21/short-polling-long-polling-concepts-25mb</link>
      <guid>https://dev.to/padmesh21/short-polling-long-polling-concepts-25mb</guid>
      <description>&lt;p&gt;Polling is a communication method where client repeatedly sends request to the server to check if any data is available&lt;/p&gt;

&lt;p&gt;It has 2 methods :&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Long Polling&lt;/li&gt;
&lt;li&gt;Short Polling&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Both methods allow a client to receive updates from a server but they differ significantly in performance and resource usage&lt;/p&gt;

&lt;h2&gt;
  
  
  &lt;strong&gt;Short Polling :&lt;/strong&gt;
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;When a client sends request to the server repeatedly in a fixed interval of time until it gets the desired response its called Short Polling&lt;/li&gt;
&lt;li&gt;It increases the load of the server if the client sends requests in a very short period of time interval&lt;/li&gt;
&lt;li&gt;Therefore Long Polling is prefered over Short Polling&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  &lt;strong&gt;Long Polling :&lt;/strong&gt;
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;When a client sends a request and the server waits for the data to get ready to be sent as response to the client is called Long Polling&lt;/li&gt;
&lt;li&gt;It will decrease the server load completely &lt;/li&gt;
&lt;li&gt;Since it stays connected to a client till the response is ready every request will occupy a port and ports are limited&lt;/li&gt;
&lt;/ol&gt;

</description>
      <category>systemdesign</category>
    </item>
  </channel>
</rss>
