<?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: Vishal Kumar</title>
    <description>The latest articles on DEV Community by Vishal Kumar (@vishal_kumar_087e1b0ad5b4).</description>
    <link>https://dev.to/vishal_kumar_087e1b0ad5b4</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.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3326060%2Fdd3cb440-fa59-4e66-914d-c339cd5c0f6b.png</url>
      <title>DEV Community: Vishal Kumar</title>
      <link>https://dev.to/vishal_kumar_087e1b0ad5b4</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/vishal_kumar_087e1b0ad5b4"/>
    <language>en</language>
    <item>
      <title>Why Modern Engineering Teams Overuse WebSockets - And When Polling Is Actually The Better Architectural Decision</title>
      <dc:creator>Vishal Kumar</dc:creator>
      <pubDate>Sun, 24 May 2026 14:16:06 +0000</pubDate>
      <link>https://dev.to/vishal_kumar_087e1b0ad5b4/why-modern-engineering-teams-overuse-websockets-and-when-polling-is-actually-the-better-30m2</link>
      <guid>https://dev.to/vishal_kumar_087e1b0ad5b4/why-modern-engineering-teams-overuse-websockets-and-when-polling-is-actually-the-better-30m2</guid>
      <description>&lt;p&gt;During my time at companies such as Amadeus IT Group — the world’s largest Global Distribution System powering backend infrastructure for around 82% of the world’s scheduled flights — WebSockets were frequently discussed as a solution for bidirectional communication and realtime system synchronization.&lt;/p&gt;

&lt;p&gt;Right before I left the company, one engineer told me that a solution I had built solved a problem he had struggled with internally for almost 20 years due to repeated polling patterns.&lt;/p&gt;

&lt;p&gt;That conversation stuck with me.&lt;/p&gt;

&lt;p&gt;At my current company, I’ve noticed that WebSockets are often treated as the default architectural choice over polling. While real-time infrastructure absolutely has valid use cases, I’ve also seen scenarios where the operational complexity introduced by WebSockets was not actually justified by the business requirement.&lt;/p&gt;

&lt;p&gt;In one financial services system I worked on, WebSockets had been implemented despite the fact that real-time synchronisation provided minimal practical value. Polling would likely have achieved the same outcome with significantly simpler infrastructure and operational overhead.&lt;/p&gt;

&lt;p&gt;This raises an interesting question:&lt;/p&gt;

&lt;p&gt;How often are engineering teams introducing real-time infrastructure simply because it feels like the “modern” architectural choice?&lt;/p&gt;

&lt;p&gt;Before going further into that discussion, it’s worth first understanding the difference between polling and WebSockets.&lt;/p&gt;

&lt;p&gt;**&lt;/p&gt;

&lt;h2&gt;
  
  
  Polling
&lt;/h2&gt;

&lt;p&gt;**&lt;/p&gt;

&lt;p&gt;Polling is a communication pattern where a client repeatedly sends requests to a server at fixed intervals to check whether new data is available.&lt;/p&gt;

&lt;p&gt;For example:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;every second&lt;/li&gt;
&lt;li&gt;every 30 seconds&lt;/li&gt;
&lt;li&gt;every few minutes&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Each request is stateless and independent, which makes polling architectures relatively straightforward to scale, debug, and operate.&lt;/p&gt;

&lt;p&gt;However, the tradeoff is that many of these requests may return no new information at all, resulting in unnecessary network and compute overhead.&lt;/p&gt;

&lt;p&gt;**&lt;/p&gt;

&lt;h2&gt;
  
  
  WebSockets
&lt;/h2&gt;

&lt;p&gt;**&lt;/p&gt;

&lt;p&gt;WebSockets establish a persistent bidirectional connection between client and server, allowing servers to push updates immediately without requiring repeated client requests.&lt;/p&gt;

&lt;p&gt;Unlike polling, the connection remains open continuously, enabling low-latency communication in realtime systems.&lt;/p&gt;

&lt;p&gt;This is especially useful in applications such as:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;live chat systems&lt;/li&gt;
&lt;li&gt;trading platforms&lt;/li&gt;
&lt;li&gt;collaborative editing tools&lt;/li&gt;
&lt;li&gt;multiplayer games&lt;/li&gt;
&lt;li&gt;AI-native streaming interfaces&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;However, this lower latency comes with additional operational complexity.&lt;/p&gt;

&lt;p&gt;When Polling Is Actually The Better Choice&lt;br&gt;
&lt;strong&gt;1. When Eventual Consistency Is Acceptable&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Not every system requires millisecond-level synchronization.&lt;/p&gt;

&lt;p&gt;In many applications, slightly stale data is operationally acceptable as long as updates arrive within a reasonable timeframe.&lt;/p&gt;

&lt;p&gt;Examples include:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;analytics dashboards&lt;/li&gt;
&lt;li&gt;reporting systems&lt;/li&gt;
&lt;li&gt;internal admin tooling&lt;/li&gt;
&lt;li&gt;background processing workflows&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;In these scenarios, polling every 15–30 seconds is often more than sufficient.&lt;/p&gt;

&lt;p&gt;Maintaining persistent realtime infrastructure for systems like these can introduce unnecessary complexity for minimal practical gain.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;2. When Stateless Scaling Matters More&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Polling architectures are significantly easier to scale horizontally because each request is independent.&lt;/p&gt;

&lt;p&gt;This simplifies:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;load balancing&lt;/li&gt;
&lt;li&gt;autoscaling&lt;/li&gt;
&lt;li&gt;retry handling&lt;/li&gt;
&lt;li&gt;failure recovery&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Load balancers can distribute requests freely without maintaining long-lived connection state between clients and servers.&lt;/p&gt;

&lt;p&gt;In contrast, WebSockets introduce persistent connection management, heartbeat handling, reconnect logic, and stateful infrastructure requirements.&lt;/p&gt;

&lt;p&gt;At scale, this operational difference becomes substantial.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;3. When Operational Simplicity Is More Valuable Than Low Latency&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;One of the most overlooked costs of real-time systems is infrastructure complexity.&lt;/p&gt;

&lt;p&gt;Polling systems are generally:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;easier to debug&lt;/li&gt;
&lt;li&gt;easier to observe&lt;/li&gt;
&lt;li&gt;easier to deploy&lt;/li&gt;
&lt;li&gt;easier to recover during failures&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;WebSockets, meanwhile, require engineering teams to manage:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;persistent connections&lt;/li&gt;
&lt;li&gt;reconnect storms&lt;/li&gt;
&lt;li&gt;idle connection overhead&lt;/li&gt;
&lt;li&gt;state synchronization&lt;/li&gt;
&lt;li&gt;gateway scaling challenges&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;In many systems, the operational burden introduced by realtime infrastructure is simply not justified by the actual user requirement.&lt;/p&gt;

&lt;p&gt;**&lt;/p&gt;

&lt;h2&gt;
  
  
  Conclusion
&lt;/h2&gt;

&lt;p&gt;**&lt;/p&gt;

&lt;p&gt;Modern engineering increasingly trends toward realtime infrastructure, but lower latency alone does not justify higher architectural complexity.&lt;/p&gt;

&lt;p&gt;Polling optimizes for operational simplicity.&lt;/p&gt;

&lt;p&gt;WebSockets optimize for low-latency synchronization.&lt;/p&gt;

&lt;p&gt;The best systems are not the most technologically advanced — they are the systems whose complexity is justified by the business requirement.&lt;/p&gt;

</description>
      <category>architecture</category>
      <category>backend</category>
      <category>softwareengineering</category>
      <category>systemdesign</category>
    </item>
    <item>
      <title>Why AI Engineering Is Becoming More Like Distributed Systems Engineering</title>
      <dc:creator>Vishal Kumar</dc:creator>
      <pubDate>Thu, 21 May 2026 20:45:18 +0000</pubDate>
      <link>https://dev.to/vishal_kumar_087e1b0ad5b4/why-ai-engineering-is-becoming-more-like-distributed-systems-engineering-210l</link>
      <guid>https://dev.to/vishal_kumar_087e1b0ad5b4/why-ai-engineering-is-becoming-more-like-distributed-systems-engineering-210l</guid>
      <description>&lt;p&gt;As foundation models continue to improve, I think AI engineering is starting to look far more like distributed systems engineering.&lt;/p&gt;

&lt;p&gt;The difficult part usually is not the model itself - it is everything around it:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Orchestration&lt;/li&gt;
&lt;li&gt;Retries&lt;/li&gt;
&lt;li&gt;Queues&lt;/li&gt;
&lt;li&gt;Workflow state&lt;/li&gt;
&lt;li&gt;Observability&lt;/li&gt;
&lt;li&gt;Evaluation&lt;/li&gt;
&lt;li&gt;Scaling&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;A production AI workflow can very quickly become:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Retrieval&lt;/li&gt;
&lt;li&gt;Multiple LLM/tool calls&lt;/li&gt;
&lt;li&gt;Async processing&lt;/li&gt;
&lt;li&gt;Validation&lt;/li&gt;
&lt;li&gt;Downstream systems&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;At that point, you are dealing with classic system problems rather than just prompting.&lt;/p&gt;

</description>
      <category>ai</category>
      <category>programming</category>
      <category>architecture</category>
      <category>backend</category>
    </item>
    <item>
      <title>Importance of Data Modelling</title>
      <dc:creator>Vishal Kumar</dc:creator>
      <pubDate>Sat, 16 May 2026 10:10:40 +0000</pubDate>
      <link>https://dev.to/vishal_kumar_087e1b0ad5b4/importance-of-data-modelling-3p4j</link>
      <guid>https://dev.to/vishal_kumar_087e1b0ad5b4/importance-of-data-modelling-3p4j</guid>
      <description>&lt;p&gt;As CodeGen tools continue to develop, with tools such as Graphify optimising token usage even further, pressure is mounting on business teams looking to leverage AI-native solutions within their data collection standards.&lt;/p&gt;

&lt;h2&gt;
  
  
  Thoughts
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Model performance tends to rely heavily on the data.&lt;/li&gt;
&lt;li&gt;As development time decreases, bottlenecks around data dependencies increase.&lt;/li&gt;
&lt;li&gt;This is why data modelling is becoming increasingly crucial for businesses these days.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Let me know your thoughts on this!&lt;/p&gt;

</description>
      <category>ai</category>
      <category>database</category>
      <category>programming</category>
      <category>career</category>
    </item>
  </channel>
</rss>
