<?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: Harsh S</title>
    <description>The latest articles on DEV Community by Harsh S (@prgrmr).</description>
    <link>https://dev.to/prgrmr</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%2F3874406%2Fe30188b4-c5d8-48bc-a63e-431a950ca5e7.png</url>
      <title>DEV Community: Harsh S</title>
      <link>https://dev.to/prgrmr</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/prgrmr"/>
    <language>en</language>
    <item>
      <title>Engineering decisions for my video call tool</title>
      <dc:creator>Harsh S</dc:creator>
      <pubDate>Mon, 25 May 2026 01:47:05 +0000</pubDate>
      <link>https://dev.to/prgrmr/engineering-decisions-for-my-video-call-tool-1167</link>
      <guid>https://dev.to/prgrmr/engineering-decisions-for-my-video-call-tool-1167</guid>
      <description>&lt;p&gt;&lt;strong&gt;WebChat&lt;/strong&gt;&lt;br&gt;
A PeerJS-based browser-to-browser video conferencing app with low-latency, high-performance real-time communication.&lt;/p&gt;

&lt;p&gt;This project pushed me deep into the internals of infrastructure optimization.&lt;/p&gt;




&lt;p&gt;&lt;strong&gt;Key Engineering Decisions:&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Engineered a combined signaling server: integrating Express.js, Socket.IO and PeerJS into a single-process, single-port architecture that runs with a single command.
This design avoids typical multi-service deployment constraints and runs smoothly on a single (free-tier as of now) instance.&lt;/li&gt;
&lt;li&gt;Solved a tricky issue of duplicate video streams using PeerJS ID deduplication logic.&lt;/li&gt;
&lt;li&gt;Enabled dynamic participation via URL-based session joins, with full leave/rejoin support for participants.&lt;/li&gt;
&lt;li&gt;Focused on ultra-low latency media exchange and snappy UI responsiveness.&lt;/li&gt;
&lt;li&gt;Used ngrok to tunnel the local development server, enabling testing across different devices and network environments by exposing the localhost port via a secure public URL.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Stack:&lt;/strong&gt;&lt;br&gt;
PeerJS • Socket.IO • Express.js • EJS • Node.js&lt;/p&gt;




&lt;p&gt;&lt;strong&gt;Live link:&lt;/strong&gt; &lt;a href="https://webchat-fa0u.onrender.com" rel="noopener noreferrer"&gt;https://webchat-fa0u.onrender.com&lt;/a&gt;&lt;/p&gt;

</description>
      <category>programming</category>
      <category>architecture</category>
    </item>
  </channel>
</rss>
