<?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: Subham Khandual | MERN Stack Developer</title>
    <description>The latest articles on DEV Community by Subham Khandual | MERN Stack Developer (@subhamkhandual09).</description>
    <link>https://dev.to/subhamkhandual09</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%2F3928738%2F17b0c782-b992-4176-998d-c2d3fe907d51.png</url>
      <title>DEV Community: Subham Khandual | MERN Stack Developer</title>
      <link>https://dev.to/subhamkhandual09</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/subhamkhandual09"/>
    <language>en</language>
    <item>
      <title>Vertical scaling vs Horizontal scaling</title>
      <dc:creator>Subham Khandual | MERN Stack Developer</dc:creator>
      <pubDate>Mon, 05 Oct 2026 06:14:58 +0000</pubDate>
      <link>https://dev.to/subhamkhandual09/vertical-scaling-vs-horizontal-scaling-1nc7</link>
      <guid>https://dev.to/subhamkhandual09/vertical-scaling-vs-horizontal-scaling-1nc7</guid>
      <description>&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fxtb8eli6vumj2nhjbqn2.webp" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fxtb8eli6vumj2nhjbqn2.webp" alt=" " width="800" height="533"&gt;&lt;/a&gt;&lt;br&gt;
&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fpo78lgmmhicflssjasgu.webp" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fpo78lgmmhicflssjasgu.webp" alt=" " width="800" height="450"&gt;&lt;/a&gt;&lt;br&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%2Fjgvhjqogaaex0032vgpv.png" 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%2Fjgvhjqogaaex0032vgpv.png" alt=" " width="800" height="533"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;“Vertical vs Horizontal Scaling: Scale Up or Scale Out?”&lt;/p&gt;

&lt;p&gt;Use the uploaded infographic as the main visual reference and structure the article around the concepts shown in it.&lt;/p&gt;

&lt;p&gt;AUTHOR DETAILS:&lt;br&gt;
Name: Subham Khandual&lt;br&gt;
Role: Full Stack Developer | MERN Stack Developer | AI/ML Engineer | DevOps Engineer&lt;br&gt;
Location: Bhubaneswar, Odisha, India&lt;/p&gt;

&lt;p&gt;ARTICLE GOAL:&lt;br&gt;
Explain Vertical Scaling and Horizontal Scaling in a beginner-friendly but professional System Design style. The article should be useful for students, developers preparing for system design interviews, backend developers, and DevOps beginners.&lt;/p&gt;

&lt;p&gt;IMPORTANT TECHNICAL ACCURACY:&lt;br&gt;
Do NOT falsely claim that WhatsApp's production architecture is purely vertically scaled or that BookMyShow's exact internal architecture is known.&lt;/p&gt;

&lt;p&gt;Instead:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Use WhatsApp as a CONCEPTUAL example to explain the idea of Vertical Scaling / Scale Up.&lt;/li&gt;
&lt;li&gt;Explain that if a messaging backend running on one server needed more capacity, upgrading CPU, RAM, or SSD would represent vertical scaling.&lt;/li&gt;
&lt;li&gt;Clearly mention that real-world WhatsApp operates at massive scale and uses distributed/horizontally scaled infrastructure.&lt;/li&gt;
&lt;li&gt;Use BookMyShow as a CONCEPTUAL example of Horizontal Scaling / Scale Out.&lt;/li&gt;
&lt;li&gt;Explain how a high-traffic ticket-booking platform can use multiple application servers behind a Load Balancer.&lt;/li&gt;
&lt;li&gt;Clearly state that this is a simplified educational architecture and not a claim about BookMyShow's private production infrastructure.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;ARTICLE STRUCTURE:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Strong opening hook
Start with a real-world problem:
“What happens when your application suddenly gets 10x more users?”&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Introduce scaling and why it matters in modern system design.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;What is Scaling?&lt;br&gt;
Explain scaling using a simple example:&lt;br&gt;
4 GB RAM + 2 CPU cores → growing traffic → server becomes a bottleneck.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Vertical Scaling — Scale Up&lt;br&gt;
Explain:&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;What it means&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;How it works&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;CPU upgrade&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;RAM upgrade&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;SSD/storage upgrade&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Advantages&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Disadvantages&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;When it makes sense&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Include a simple ASCII architecture diagram.&lt;/p&gt;

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

&lt;p&gt;Users&lt;br&gt;
  ↓&lt;br&gt;
Application Server&lt;br&gt;
  ↓&lt;br&gt;
Upgrade CPU + RAM + Storage&lt;br&gt;
  ↓&lt;br&gt;
More powerful server&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;WhatsApp CONCEPTUAL EXAMPLE
Explain a simplified messaging-server scenario.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Before:&lt;br&gt;
Users → One Server&lt;/p&gt;

&lt;p&gt;After Scale Up:&lt;br&gt;
Users → More Powerful Server&lt;/p&gt;

&lt;p&gt;Use examples such as:&lt;br&gt;
2 CPU → 8 CPU&lt;br&gt;
4 GB RAM → 32 GB RAM&lt;/p&gt;

&lt;p&gt;Then add an important note:&lt;br&gt;
“This is a conceptual example for understanding vertical scaling. WhatsApp's actual production infrastructure is distributed and operates across many systems and servers.”&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Horizontal Scaling — Scale Out
Explain:&lt;/li&gt;
&lt;li&gt;What it means&lt;/li&gt;
&lt;li&gt;Adding multiple servers&lt;/li&gt;
&lt;li&gt;Load Balancer&lt;/li&gt;
&lt;li&gt;Traffic distribution&lt;/li&gt;
&lt;li&gt;Fault tolerance&lt;/li&gt;
&lt;li&gt;High availability&lt;/li&gt;
&lt;li&gt;Elastic growth&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Show:&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;            Users
              ↓
        Load Balancer
              ↓
    ┌─────────┼─────────┐
    ↓         ↓         ↓
 Server 1  Server 2  Server 3
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;ol&gt;
&lt;li&gt;BookMyShow CONCEPTUAL EXAMPLE
Explain a movie-ticket booking traffic spike.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Example:&lt;br&gt;
Normal traffic:&lt;br&gt;
3 application servers&lt;/p&gt;

&lt;p&gt;During a major movie release:&lt;br&gt;
3 → 6 → 10 application servers&lt;/p&gt;

&lt;p&gt;Architecture:&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;                Users
                  ↓
           Load Balancer
                  ↓
      ┌───────────┼───────────┐
      ↓           ↓           ↓
   Server 1    Server 2    Server 3
      │           │           │
      └───────────┼───────────┘
                  ↓
               Database
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;Explain how horizontal scaling helps distribute requests.&lt;/p&gt;

&lt;p&gt;Clearly mention:&lt;br&gt;
“This is a simplified educational model, not BookMyShow's actual private architecture.”&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Vertical vs Horizontal Scaling
Create a clean comparison table covering:&lt;/li&gt;
&lt;/ol&gt;

&lt;ul&gt;
&lt;li&gt;Meaning&lt;/li&gt;
&lt;li&gt;Approach&lt;/li&gt;
&lt;li&gt;Servers&lt;/li&gt;
&lt;li&gt;Hardware limits&lt;/li&gt;
&lt;li&gt;Complexity&lt;/li&gt;
&lt;li&gt;Load Balancer&lt;/li&gt;
&lt;li&gt;Availability&lt;/li&gt;
&lt;li&gt;Fault tolerance&lt;/li&gt;
&lt;li&gt;Cost&lt;/li&gt;
&lt;li&gt;Downtime&lt;/li&gt;
&lt;li&gt;Best use cases&lt;/li&gt;
&lt;/ul&gt;

&lt;ol&gt;
&lt;li&gt;Advantages and Disadvantages&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Vertical Scaling:&lt;/p&gt;

&lt;p&gt;Advantages:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Simple architecture&lt;/li&gt;
&lt;li&gt;Easy to implement&lt;/li&gt;
&lt;li&gt;Less operational complexity&lt;/li&gt;
&lt;li&gt;Good for small applications&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Disadvantages:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Hardware limits&lt;/li&gt;
&lt;li&gt;Expensive high-end machines&lt;/li&gt;
&lt;li&gt;Potential downtime during upgrades&lt;/li&gt;
&lt;li&gt;Single-server failure can affect availability&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Horizontal Scaling:&lt;/p&gt;

&lt;p&gt;Advantages:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Better scalability&lt;/li&gt;
&lt;li&gt;Higher availability potential&lt;/li&gt;
&lt;li&gt;Fault tolerance&lt;/li&gt;
&lt;li&gt;Easier capacity expansion&lt;/li&gt;
&lt;li&gt;Supports large traffic volumes&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Disadvantages:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;More complex architecture&lt;/li&gt;
&lt;li&gt;Requires load balancing&lt;/li&gt;
&lt;li&gt;Distributed state becomes a challenge&lt;/li&gt;
&lt;li&gt;Database scaling becomes important&lt;/li&gt;
&lt;li&gt;Monitoring and deployment become more complex&lt;/li&gt;
&lt;/ul&gt;

&lt;ol&gt;
&lt;li&gt;What Problems Appear After Horizontal Scaling?&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Explain:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Load balancing&lt;/li&gt;
&lt;li&gt;Database bottlenecks&lt;/li&gt;
&lt;li&gt;Session management&lt;/li&gt;
&lt;li&gt;Stateless architecture&lt;/li&gt;
&lt;li&gt;Redis/cache&lt;/li&gt;
&lt;li&gt;Database replication&lt;/li&gt;
&lt;li&gt;Database sharding&lt;/li&gt;
&lt;li&gt;Message queues&lt;/li&gt;
&lt;li&gt;CDN&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Show how the architecture evolves:&lt;/p&gt;

&lt;p&gt;Users&lt;br&gt;
 ↓&lt;br&gt;
Load Balancer&lt;br&gt;
 ↓&lt;br&gt;
Multiple App Servers&lt;br&gt;
 ↓&lt;br&gt;
Redis / Cache&lt;br&gt;
 ↓&lt;br&gt;
Database Cluster&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;When Should You Scale Up?&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Explain that vertical scaling is useful for:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;MVPs&lt;/li&gt;
&lt;li&gt;Small applications&lt;/li&gt;
&lt;li&gt;Simple architectures&lt;/li&gt;
&lt;li&gt;Low/moderate traffic&lt;/li&gt;
&lt;li&gt;Systems where operational simplicity matters&lt;/li&gt;
&lt;/ul&gt;

&lt;ol&gt;
&lt;li&gt;When Should You Scale Out?&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Explain that horizontal scaling becomes useful for:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;High traffic&lt;/li&gt;
&lt;li&gt;Rapid growth&lt;/li&gt;
&lt;li&gt;High availability&lt;/li&gt;
&lt;li&gt;Fault tolerance&lt;/li&gt;
&lt;li&gt;24/7 systems&lt;/li&gt;
&lt;li&gt;Large distributed applications&lt;/li&gt;
&lt;/ul&gt;

&lt;ol&gt;
&lt;li&gt;Real-World Systems Usually Use BOTH&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Explain that vertical and horizontal scaling are not competitors.&lt;/p&gt;

&lt;p&gt;A modern architecture may use:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Horizontal scaling for application servers&lt;/li&gt;
&lt;li&gt;Vertical scaling for individual database/cache nodes&lt;/li&gt;
&lt;li&gt;Read replicas&lt;/li&gt;
&lt;li&gt;Sharding&lt;/li&gt;
&lt;li&gt;Redis&lt;/li&gt;
&lt;li&gt;CDN&lt;/li&gt;
&lt;li&gt;Load balancers&lt;/li&gt;
&lt;li&gt;Auto scaling&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Show a final architecture diagram.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Simple Memory Trick&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Make this visually memorable:&lt;/p&gt;

&lt;p&gt;VERTICAL = SCALE UP&lt;br&gt;
“Make one machine stronger.”&lt;/p&gt;

&lt;p&gt;HORIZONTAL = SCALE OUT&lt;br&gt;
“Add more machines.”&lt;/p&gt;

&lt;p&gt;Use:&lt;br&gt;
🖥️ → 🖥️💪&lt;/p&gt;

&lt;p&gt;versus&lt;/p&gt;

&lt;p&gt;🖥️ + 🖥️ + 🖥️ + 🖥️&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Final Takeaway&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;End with a strong conclusion explaining:&lt;/p&gt;

&lt;p&gt;Scaling is not simply about adding CPU or RAM.&lt;/p&gt;

&lt;p&gt;The real system-design challenge is:&lt;br&gt;
“How can we handle increasing traffic while maintaining performance, availability, reliability and manageable complexity?”&lt;/p&gt;

&lt;p&gt;Mention that scaling naturally leads to concepts such as:&lt;br&gt;
Load Balancers, Redis, Database Replication, Sharding, CDN, Message Queues and Distributed Systems.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;PERSONAL LEARNING SECTION&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Add a section:&lt;/p&gt;

&lt;p&gt;“What I Learned”&lt;/p&gt;

&lt;p&gt;Write it in first person as Subham Khandual.&lt;/p&gt;

&lt;p&gt;Mention that while learning System Design, I realized scaling is not just about making a server more powerful. The bigger challenge is distributing workload efficiently while keeping the system reliable, available and maintainable.&lt;/p&gt;

&lt;p&gt;Keep it authentic and not overly promotional.&lt;/p&gt;

&lt;p&gt;WRITING STYLE:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Professional but beginner-friendly&lt;/li&gt;
&lt;li&gt;Clear explanations&lt;/li&gt;
&lt;li&gt;Practical examples&lt;/li&gt;
&lt;li&gt;Short paragraphs&lt;/li&gt;
&lt;li&gt;Strong headings&lt;/li&gt;
&lt;li&gt;Use emojis sparingly&lt;/li&gt;
&lt;li&gt;Use Markdown&lt;/li&gt;
&lt;li&gt;Use code blocks for architecture diagrams&lt;/li&gt;
&lt;li&gt;Avoid unnecessary jargon&lt;/li&gt;
&lt;li&gt;Explain technical terms when first introduced&lt;/li&gt;
&lt;li&gt;Do not sound like AI-generated content&lt;/li&gt;
&lt;li&gt;Make it feel like a developer sharing what they learned&lt;/li&gt;
&lt;li&gt;Include practical System Design insights&lt;/li&gt;
&lt;li&gt;Do not overclaim knowledge of private company architectures&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;DEV.TO SEO:&lt;br&gt;
Create:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;SEO-friendly title&lt;/li&gt;
&lt;li&gt;Short subtitle/excerpt&lt;/li&gt;
&lt;li&gt;Article body&lt;/li&gt;
&lt;li&gt;Suggested canonical title&lt;/li&gt;
&lt;li&gt;5–8 relevant DEV.to tags&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Recommended tags:&lt;/p&gt;

&lt;h1&gt;
  
  
  systemdesign
&lt;/h1&gt;

&lt;h1&gt;
  
  
  scalability
&lt;/h1&gt;

&lt;h1&gt;
  
  
  backend
&lt;/h1&gt;

&lt;h1&gt;
  
  
  devops
&lt;/h1&gt;

&lt;h1&gt;
  
  
  softwareengineering
&lt;/h1&gt;

&lt;h1&gt;
  
  
  architecture
&lt;/h1&gt;

&lt;h1&gt;
  
  
  webdevelopment
&lt;/h1&gt;

&lt;h1&gt;
  
  
  distributedsystems
&lt;/h1&gt;

&lt;p&gt;TITLE SHOULD BE ENGAGING:&lt;br&gt;
Prefer something similar to:&lt;br&gt;
“Scale Up or Scale Out? Understanding Vertical vs Horizontal Scaling 🚀”&lt;/p&gt;

&lt;p&gt;Also provide 3 alternative titles.&lt;/p&gt;

&lt;p&gt;VISUAL:&lt;br&gt;
Use the uploaded infographic naturally in the article as the introductory/reference image. Explain that the visual summarizes the fundamental difference between Scale Up and Scale Out.&lt;/p&gt;

&lt;p&gt;FINAL ARTICLE REQUIREMENTS:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Make the article publication-ready for DEV.to.&lt;/li&gt;
&lt;li&gt;Do not include instructions to the writer.&lt;/li&gt;
&lt;li&gt;Do not mention “as an AI”.&lt;/li&gt;
&lt;li&gt;Do not fabricate internal architecture details about WhatsApp or BookMyShow.&lt;/li&gt;
&lt;li&gt;Keep the technical explanation accurate.&lt;/li&gt;
&lt;li&gt;Make the article engaging enough that a developer would want to read until the end.&lt;/li&gt;
&lt;li&gt;Include useful architecture diagrams.&lt;/li&gt;
&lt;li&gt;End with a concise takeaway and relevant hashtags.&lt;/li&gt;
&lt;li&gt;Author name: Subham Khandual.&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>architecture</category>
      <category>cloud</category>
      <category>devops</category>
      <category>systemdesign</category>
    </item>
    <item>
      <title>System design(Load Balancer)</title>
      <dc:creator>Subham Khandual | MERN Stack Developer</dc:creator>
      <pubDate>Sun, 04 Oct 2026 19:50:22 +0000</pubDate>
      <link>https://dev.to/subhamkhandual09/system-design-434j</link>
      <guid>https://dev.to/subhamkhandual09/system-design-434j</guid>
      <description>&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fn7c13wd7uhdtbt4e0xzk.webp" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fn7c13wd7uhdtbt4e0xzk.webp" alt=" " width="800" height="533"&gt;&lt;/a&gt;&lt;br&gt;
&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fhetjs2ib1dh3zqotf0cp.webp" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fhetjs2ib1dh3zqotf0cp.webp" alt=" " width="800" height="533"&gt;&lt;/a&gt;&lt;br&gt;
🚀 SYSTEM DESIGN — LOAD BALANCER&lt;/p&gt;

&lt;p&gt;Write the post as if it is being shared by a passionate Full Stack Developer, AI/ML Engineer, and DevOps Engineer who is continuously learning System Design and sharing useful technical knowledge with the developer community.&lt;/p&gt;

&lt;p&gt;The post should feel HUMAN, confident, educational, and authentic — NOT robotic or AI-generated.&lt;/p&gt;

&lt;p&gt;━━━━━━━━━━━━━━━━━━━━&lt;br&gt;
🔥 OPENING HOOK&lt;br&gt;
━━━━━━━━━━━━━━━━━━━━&lt;/p&gt;

&lt;p&gt;Start with a strong hook that makes developers want to read further.&lt;/p&gt;

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

&lt;p&gt;“🚦 What happens when 100,000 users suddenly hit your application at the same time?&lt;/p&gt;

&lt;p&gt;One server can’t handle everything.&lt;/p&gt;

&lt;p&gt;This is where a Load Balancer becomes one of the most important components in System Design. ⚖️”&lt;/p&gt;

&lt;p&gt;Then briefly introduce the concept.&lt;/p&gt;

&lt;p&gt;━━━━━━━━━━━━━━━━━━━━&lt;br&gt;
⚖️ WHAT IS A LOAD BALANCER?&lt;br&gt;
━━━━━━━━━━━━━━━━━━━━&lt;/p&gt;

&lt;p&gt;Explain in simple language:&lt;/p&gt;

&lt;p&gt;A Load Balancer sits between clients and backend servers and intelligently distributes incoming requests across multiple servers.&lt;/p&gt;

&lt;p&gt;Architecture:&lt;/p&gt;

&lt;p&gt;👥 Clients&lt;br&gt;
        ↓&lt;br&gt;
⚖️ Load Balancer&lt;br&gt;
        ↓&lt;br&gt;
🖥️ Server 1&lt;br&gt;
🖥️ Server 2&lt;br&gt;
🖥️ Server 3&lt;/p&gt;

&lt;p&gt;Explain that the goal is not simply to “divide traffic equally,” but to keep the system reliable, responsive, scalable, and available.&lt;/p&gt;

&lt;p&gt;━━━━━━━━━━━━━━━━━━━━&lt;br&gt;
📸 EXPLAIN IMAGE 1&lt;br&gt;
━━━━━━━━━━━━━━━━━━━━&lt;/p&gt;

&lt;p&gt;Use the first image as the architecture explanation.&lt;/p&gt;

&lt;p&gt;Explain:&lt;/p&gt;

&lt;p&gt;Client → Load Balancer → Multiple Backend Servers&lt;/p&gt;

&lt;p&gt;Requests can come from:&lt;br&gt;
🌐 Web browsers&lt;br&gt;
📱 Mobile applications&lt;br&gt;
💻 Desktop/Laptop applications&lt;br&gt;
🔗 Other services/APIs&lt;/p&gt;

&lt;p&gt;The Load Balancer receives these requests and routes them to appropriate backend servers.&lt;/p&gt;

&lt;p&gt;Mention that real-world load balancers can use server health, connection count, routing rules, weights, and other factors when deciding where to send traffic.&lt;/p&gt;

&lt;p&gt;━━━━━━━━━━━━━━━━━━━━&lt;br&gt;
👥 EXPLAIN IMAGE 2 — 100 USERS EXAMPLE&lt;br&gt;
━━━━━━━━━━━━━━━━━━━━&lt;/p&gt;

&lt;p&gt;Use the second image to explain the concept with a simple example.&lt;/p&gt;

&lt;p&gt;Imagine:&lt;/p&gt;

&lt;p&gt;👥 100 users are accessing an application simultaneously.&lt;/p&gt;

&lt;p&gt;❌ WITHOUT LOAD BALANCER&lt;/p&gt;

&lt;p&gt;100 users → 🖥️ One Server&lt;/p&gt;

&lt;p&gt;Possible problems:&lt;br&gt;
• Server becomes overloaded&lt;br&gt;
• Response time increases&lt;br&gt;
• CPU/RAM resources are exhausted&lt;br&gt;
• Requests may fail&lt;br&gt;
• Server may crash&lt;br&gt;
• Application availability is affected&lt;/p&gt;

&lt;p&gt;Then explain:&lt;/p&gt;

&lt;p&gt;✅ WITH LOAD BALANCER&lt;/p&gt;

&lt;p&gt;100 users&lt;br&gt;
      ↓&lt;br&gt;
⚖️ Load Balancer&lt;br&gt;
   ↙     ↓     ↘&lt;br&gt;
🖥️ S1  🖥️ S2  🖥️ S3&lt;/p&gt;

&lt;p&gt;The requests can be distributed across multiple healthy servers.&lt;/p&gt;

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

&lt;p&gt;Server 1 → ~33 users&lt;br&gt;
Server 2 → ~34 users&lt;br&gt;
Server 3 → ~33 users&lt;/p&gt;

&lt;p&gt;Clarify that this is a simplified example. Real systems do NOT necessarily distribute traffic perfectly equally.&lt;/p&gt;

&lt;p&gt;━━━━━━━━━━━━━━━━━━━━&lt;br&gt;
🛡️ WHY DO WE NEED A LOAD BALANCER?&lt;br&gt;
━━━━━━━━━━━━━━━━━━━━&lt;/p&gt;

&lt;p&gt;Create a visually attractive section:&lt;/p&gt;

&lt;p&gt;⚡ Better Performance&lt;br&gt;
🛡️ High Availability&lt;br&gt;
📈 Horizontal Scalability&lt;br&gt;
🔄 Traffic Distribution&lt;br&gt;
❤️ Health Checks&lt;br&gt;
🚨 Fault Tolerance&lt;br&gt;
🔧 Easier Infrastructure Scaling&lt;/p&gt;

&lt;p&gt;Briefly explain each benefit in one sentence.&lt;/p&gt;

&lt;p&gt;━━━━━━━━━━━━━━━━━━━━&lt;br&gt;
⚙️ COMMON LOAD BALANCING ALGORITHMS&lt;br&gt;
━━━━━━━━━━━━━━━━━━━━&lt;/p&gt;

&lt;p&gt;Explain these in simple developer-friendly language:&lt;/p&gt;

&lt;p&gt;🔹 Round Robin&lt;br&gt;
Requests are distributed sequentially across servers.&lt;/p&gt;

&lt;p&gt;🔹 Weighted Round Robin&lt;br&gt;
More powerful servers receive a larger share of traffic.&lt;/p&gt;

&lt;p&gt;🔹 Least Connections&lt;br&gt;
Traffic goes toward the server handling fewer active connections.&lt;/p&gt;

&lt;p&gt;🔹 IP Hash&lt;br&gt;
A client's IP is used to determine the destination server.&lt;/p&gt;

&lt;p&gt;🔹 Least Response Time&lt;br&gt;
Requests can be directed toward servers responding faster.&lt;/p&gt;

&lt;p&gt;Mention that the best strategy depends on the application's architecture and traffic pattern.&lt;/p&gt;

&lt;p&gt;━━━━━━━━━━━━━━━━━━━━&lt;br&gt;
❤️ HEALTH CHECKS&lt;br&gt;
━━━━━━━━━━━━━━━━━━━━&lt;/p&gt;

&lt;p&gt;Explain why health checks matter.&lt;/p&gt;

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

&lt;p&gt;If Server 2 becomes unhealthy:&lt;/p&gt;

&lt;p&gt;Client → Load Balancer&lt;br&gt;
              ↓&lt;br&gt;
      ❌ Server 2&lt;br&gt;
       ↙       ↘&lt;br&gt;
   Server 1   Server 3&lt;/p&gt;

&lt;p&gt;The Load Balancer can detect unhealthy instances and stop sending new traffic to them, depending on the configuration.&lt;/p&gt;

&lt;p&gt;━━━━━━━━━━━━━━━━━━━━&lt;br&gt;
🏗️ REAL-WORLD USE CASES&lt;br&gt;
━━━━━━━━━━━━━━━━━━━━&lt;/p&gt;

&lt;p&gt;Mention:&lt;/p&gt;

&lt;p&gt;🛒 E-commerce&lt;br&gt;
🏦 Banking&lt;br&gt;
📱 Mobile applications&lt;br&gt;
🌐 SaaS platforms&lt;br&gt;
☁️ Cloud applications&lt;br&gt;
🎥 Streaming platforms&lt;br&gt;
🤖 AI/ML applications&lt;br&gt;
🏢 Enterprise systems&lt;br&gt;
🚀 High-traffic web applications&lt;/p&gt;

&lt;p&gt;━━━━━━━━━━━━━━━━━━━━&lt;br&gt;
🧠 SYSTEM DESIGN TAKEAWAY&lt;br&gt;
━━━━━━━━━━━━━━━━━━━━&lt;/p&gt;

&lt;p&gt;Create a strong takeaway:&lt;/p&gt;

&lt;p&gt;“Load Balancing is not just about distributing requests.&lt;/p&gt;

&lt;p&gt;It is about designing systems that can continue serving users reliably as traffic grows and individual servers fail.”&lt;/p&gt;

&lt;p&gt;Then explain that Load Balancers are commonly combined with:&lt;/p&gt;

&lt;p&gt;⚡ Auto Scaling&lt;br&gt;
🗄️ Databases&lt;br&gt;
⚡ Caching&lt;br&gt;
📨 Message Queues&lt;br&gt;
🌐 CDN&lt;br&gt;
🔐 API Gateway&lt;br&gt;
☁️ Cloud Infrastructure&lt;br&gt;
📊 Monitoring &amp;amp; Observability&lt;/p&gt;

&lt;p&gt;This shows how Load Balancing fits into a larger System Design architecture.&lt;/p&gt;

&lt;p&gt;━━━━━━━━━━━━━━━━━━━━&lt;br&gt;
📚 MY LEARNING JOURNEY&lt;br&gt;
━━━━━━━━━━━━━━━━━━━━&lt;/p&gt;

&lt;p&gt;Add a personal section:&lt;/p&gt;

&lt;p&gt;“📚 What I’m Learning”&lt;/p&gt;

&lt;p&gt;“I’m currently strengthening my understanding of System Design, scalable backend architecture, cloud infrastructure, DevOps, distributed systems, and high-availability applications.&lt;/p&gt;

&lt;p&gt;Every concept — from Load Balancers and Caching to Database Scaling and Message Queues — helps me understand how real-world applications handle millions of requests.”&lt;/p&gt;

&lt;p&gt;Keep this authentic and concise.&lt;/p&gt;

&lt;p&gt;━━━━━━━━━━━━━━━━━━━━&lt;br&gt;
👨‍💻 ABOUT ME&lt;br&gt;
━━━━━━━━━━━━━━━━━━━━&lt;/p&gt;

&lt;p&gt;Add:&lt;/p&gt;

&lt;p&gt;👨‍💻 Subham Khandual&lt;/p&gt;

&lt;p&gt;Full Stack Developer | MERN Stack Developer | AI/ML Engineer | DevOps Engineer&lt;/p&gt;

&lt;p&gt;💡 Interested in:&lt;br&gt;
• Full Stack Development&lt;br&gt;
• MERN Stack&lt;br&gt;
• AI/ML&lt;br&gt;
• DevOps&lt;br&gt;
• Cloud Computing&lt;br&gt;
• System Design&lt;br&gt;
• Distributed Systems&lt;br&gt;
• Scalable Applications&lt;/p&gt;

&lt;p&gt;🔗 LinkedIn:&lt;br&gt;
&lt;a href="https://www.linkedin.com/in/subham-khandual/" rel="noopener noreferrer"&gt;https://www.linkedin.com/in/subham-khandual/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;💻 GitHub:&lt;br&gt;
&lt;a href="https://github.com/subham-khandual" rel="noopener noreferrer"&gt;https://github.com/subham-khandual&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;━━━━━━━━━━━━━━━━━━━━&lt;br&gt;
💬 ENGAGEMENT&lt;br&gt;
━━━━━━━━━━━━━━━━━━━━&lt;/p&gt;

&lt;p&gt;End with an engaging question:&lt;/p&gt;

&lt;p&gt;“Which System Design concept should I break down next? 👇&lt;/p&gt;

&lt;p&gt;1️⃣ Caching&lt;br&gt;
2️⃣ Database Scaling&lt;br&gt;
3️⃣ API Gateway&lt;br&gt;
4️⃣ Message Queues&lt;br&gt;
5️⃣ Microservices&lt;/p&gt;

&lt;p&gt;Let me know in the comments! 🚀.&lt;/p&gt;

</description>
      <category>architecture</category>
      <category>devops</category>
      <category>scalability</category>
      <category>systemdesign</category>
    </item>
    <item>
      <title>Suraksha Setu: Project overview</title>
      <dc:creator>Subham Khandual | MERN Stack Developer</dc:creator>
      <pubDate>Fri, 15 May 2026 13:50:01 +0000</pubDate>
      <link>https://dev.to/subhamkhandual09/-title-suraksha-setu-mern-safety-apppublished-truetags-mern-react--j0i</link>
      <guid>https://dev.to/subhamkhandual09/-title-suraksha-setu-mern-safety-apppublished-truetags-mern-react--j0i</guid>
      <description>&lt;h1&gt;
  
  
  🚨 Suraksha Setu: Building a Smart Tourist Safety System with the MERN Stack
&lt;/h1&gt;

&lt;h2&gt;
  
  
  👋 Introduction
&lt;/h2&gt;

&lt;p&gt;Hi, I’m Subham Khandual — a MERN Stack Developer and Final Year B.Tech CSE student from Bhubaneswar, Odisha, India.&lt;/p&gt;

&lt;p&gt;Recently, I built one of the most meaningful projects of my development journey: &lt;strong&gt;Suraksha Setu&lt;/strong&gt; — a Smart Tourist Safety System designed to help travelers stay safe through emergency assistance, live safety alerts, and real-time travel monitoring.&lt;/p&gt;

&lt;p&gt;🔴 &lt;strong&gt;Live Demo:&lt;/strong&gt; &lt;a href="https://suraksha-setu-oxkw.vercel.app" rel="noopener noreferrer"&gt;https://suraksha-setu-oxkw.vercel.app&lt;/a&gt;&lt;br&gt;&lt;br&gt;
🐙 &lt;strong&gt;GitHub:&lt;/strong&gt; &lt;a href="https://github.com/subham-khandual" rel="noopener noreferrer"&gt;https://github.com/subham-khandual&lt;/a&gt; &lt;br&gt;
🌐 &lt;strong&gt;Portfolio:&lt;/strong&gt; &lt;a href="https://portfolio-nine-alpha-8nkzp7nnk6.vercel.app" rel="noopener noreferrer"&gt;https://portfolio-nine-alpha-8nkzp7nnk6.vercel.app&lt;/a&gt;&lt;/p&gt;




&lt;h1&gt;
  
  
  🌍 The Idea Behind Suraksha Setu
&lt;/h1&gt;

&lt;p&gt;India attracts millions of tourists every year, but traveler safety remains a major concern — especially in unfamiliar cities, remote destinations, and emergency situations.&lt;/p&gt;

&lt;p&gt;As someone from Odisha, I wanted to build something that could genuinely help people during travel emergencies.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;“What if tourists had a digital safety companion that could assist them instantly during emergencies?”&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;That idea became &lt;strong&gt;Suraksha Setu&lt;/strong&gt;.&lt;/p&gt;




&lt;h1&gt;
  
  
  🛡️ Features of Suraksha Setu
&lt;/h1&gt;

&lt;h2&gt;
  
  
  🚨 Emergency Assistance
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;One-tap SOS functionality&lt;/li&gt;
&lt;li&gt;Emergency contact access&lt;/li&gt;
&lt;li&gt;Quick response support system&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  📡 Real-Time Safety Alerts
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Area-based safety notifications&lt;/li&gt;
&lt;li&gt;Weather and risk-level alerts&lt;/li&gt;
&lt;li&gt;Local travel advisories&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  📍 Smart Travel Monitoring
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Live travel dashboard&lt;/li&gt;
&lt;li&gt;Monitoring support for solo travelers&lt;/li&gt;
&lt;li&gt;Mobile-friendly responsive interface&lt;/li&gt;
&lt;/ul&gt;




&lt;h1&gt;
  
  
  🛠️ Tech Stack Used
&lt;/h1&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Layer&lt;/th&gt;
&lt;th&gt;Technology&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Frontend&lt;/td&gt;
&lt;td&gt;React.js + Tailwind CSS&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Backend&lt;/td&gt;
&lt;td&gt;Node.js + Express.js&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Database&lt;/td&gt;
&lt;td&gt;MongoDB&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Authentication&lt;/td&gt;
&lt;td&gt;JWT / Clerk&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Deployment&lt;/td&gt;
&lt;td&gt;Vercel&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;




&lt;h1&gt;
  
  
  🚧 Challenges I Faced
&lt;/h1&gt;

&lt;h2&gt;
  
  
  1️⃣ Designing for Emergency Situations
&lt;/h2&gt;

&lt;p&gt;In safety applications, users may be stressed or panicked. I focused on reducing clicks and making critical actions visible immediately.&lt;/p&gt;

&lt;h2&gt;
  
  
  2️⃣ Real-Time Alert Handling
&lt;/h2&gt;

&lt;p&gt;Implementing live safety updates taught me a lot about state management and real-time data flow in React.&lt;/p&gt;

&lt;h2&gt;
  
  
  3️⃣ Mobile Responsiveness
&lt;/h2&gt;

&lt;p&gt;Since tourists mostly use smartphones, building a responsive UI with Tailwind CSS became a top priority.&lt;/p&gt;

&lt;h2&gt;
  
  
  4️⃣ Privacy &amp;amp; Location Data
&lt;/h2&gt;

&lt;p&gt;Handling user location responsibly was important. I worked on creating a transparent and trustworthy experience around location permissions.&lt;/p&gt;




&lt;h1&gt;
  
  
  📚 What I Learned
&lt;/h1&gt;

&lt;p&gt;Building Suraksha Setu improved my skills in:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;MERN Stack architecture&lt;/li&gt;
&lt;li&gt;REST API development&lt;/li&gt;
&lt;li&gt;Responsive UI/UX design&lt;/li&gt;
&lt;li&gt;Real-time data handling&lt;/li&gt;
&lt;li&gt;Deployment using Vercel&lt;/li&gt;
&lt;li&gt;Problem-solving through real-world applications&lt;/li&gt;
&lt;/ul&gt;




&lt;h1&gt;
  
  
  🔮 Future Improvements
&lt;/h1&gt;

&lt;p&gt;I plan to add:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;📲 Progressive Web App (PWA) support&lt;/li&gt;
&lt;li&gt;🗺️ Google Maps integration&lt;/li&gt;
&lt;li&gt;🔔 Push notifications&lt;/li&gt;
&lt;li&gt;🌐 Multi-language support&lt;/li&gt;
&lt;li&gt;🤝 Integration with emergency services&lt;/li&gt;
&lt;/ul&gt;




&lt;h1&gt;
  
  
  🌟 Other Projects
&lt;/h1&gt;

&lt;h2&gt;
  
  
  🏥 Swasthya Setu
&lt;/h2&gt;

&lt;p&gt;AI-powered healthcare monitoring platform using MERN + Machine Learning.&lt;/p&gt;

&lt;p&gt;🔴 Live Demo: &lt;a href="https://swasthyasetu-tsbt.vercel.app" rel="noopener noreferrer"&gt;https://swasthyasetu-tsbt.vercel.app&lt;/a&gt;&lt;/p&gt;




&lt;h2&gt;
  
  
  🩸 Blood Cancer Prediction
&lt;/h2&gt;

&lt;p&gt;Machine learning model for cancer risk detection.&lt;/p&gt;




&lt;h2&gt;
  
  
  🌾 Crop Recommendation System
&lt;/h2&gt;

&lt;p&gt;AI-powered crop suggestion platform for farmers.&lt;/p&gt;




&lt;h2&gt;
  
  
  🤖 AI Assistant
&lt;/h2&gt;

&lt;p&gt;Python-based conversational AI assistant.&lt;/p&gt;




&lt;h1&gt;
  
  
  🤝 Let’s Connect
&lt;/h1&gt;

&lt;p&gt;🌐 Portfolio: &lt;a href="https://portfolio-nine-alpha-8nkzp7nnk6.vercel.app" rel="noopener noreferrer"&gt;https://portfolio-nine-alpha-8nkzp7nnk6.vercel.app&lt;/a&gt;&lt;br&gt;&lt;br&gt;
🐙 GitHub: &lt;a href="https://github.com/subham-khandual" rel="noopener noreferrer"&gt;https://github.com/subham-khandual&lt;/a&gt; &lt;br&gt;
💼 LinkedIn: &lt;a href="https://www.linkedin.com/in/subham-khandual" rel="noopener noreferrer"&gt;https://www.linkedin.com/in/subham-khandual&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;If you enjoyed this project, feel free to ⭐ the repository and connect with me!&lt;/p&gt;

</description>
      <category>node</category>
      <category>react</category>
      <category>showdev</category>
      <category>webdev</category>
    </item>
    <item>
      <title>Project overview</title>
      <dc:creator>Subham Khandual | MERN Stack Developer</dc:creator>
      <pubDate>Thu, 14 May 2026 03:33:00 +0000</pubDate>
      <link>https://dev.to/subhamkhandual09/project-overview-1cg6</link>
      <guid>https://dev.to/subhamkhandual09/project-overview-1cg6</guid>
      <description>&lt;h1&gt;
  
  
  How I Built Swasthya Setu — An AI-Powered Health App Using the MERN Stack
&lt;/h1&gt;

&lt;p&gt;&lt;em&gt;By Subham Khandual | MERN Stack Developer | Final Year CSE Student, Bhubaneswar, India&lt;/em&gt;&lt;/p&gt;




&lt;h2&gt;
  
  
  👋 Introduction
&lt;/h2&gt;

&lt;p&gt;Hi, I'm &lt;strong&gt;Subham Khandual&lt;/strong&gt;, a Final Year B.Tech Computer Science student from Bhubaneswar, Odisha, India. I'm a MERN Stack Developer passionate about using technology to solve real-world problems.&lt;/p&gt;

&lt;p&gt;In this post, I want to share the story behind &lt;strong&gt;Swasthya Setu&lt;/strong&gt; — an AI-powered health monitoring web application I built as my final year project. I'll walk you through the problem I was trying to solve, the tech stack I chose, the challenges I faced, and what I learned along the way.&lt;/p&gt;

&lt;p&gt;👉 &lt;strong&gt;Live Demo:&lt;/strong&gt; &lt;a href="https://swasthyasetu-tsbt.vercel.app" rel="noopener noreferrer"&gt;https://swasthyasetu-tsbt.vercel.app&lt;/a&gt;&lt;br&gt;
👉 &lt;strong&gt;GitHub:&lt;/strong&gt; &lt;a href="https://github.com/subham-khandual" rel="noopener noreferrer"&gt;https://github.com/subham-khandual&lt;/a&gt;&lt;/p&gt;




&lt;h2&gt;
  
  
  🏥 What is Swasthya Setu?
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Swasthya Setu&lt;/strong&gt; (meaning &lt;em&gt;"Health Companion"&lt;/em&gt; in Hindi/Odia) is an AI-powered health app designed to help patients and healthcare providers monitor health data intelligently.&lt;/p&gt;

&lt;p&gt;The core idea was simple: millions of people in India, especially in Tier 2 and Tier 3 cities, don't have easy access to regular health check-ins. What if a web app could act as a smart health companion — tracking vitals, flagging risks, and giving users actionable insights?&lt;/p&gt;

&lt;h3&gt;
  
  
  Key Features:
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;🤖 AI-based health risk analysis&lt;/li&gt;
&lt;li&gt;📊 Patient dashboard with real-time health metrics&lt;/li&gt;
&lt;li&gt;🔒 Secure authentication and user data privacy&lt;/li&gt;
&lt;li&gt;📱 Fully responsive design for mobile users&lt;/li&gt;
&lt;li&gt;🏥 Healthcare provider interface&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  🛠️ Tech Stack
&lt;/h2&gt;

&lt;p&gt;Here's everything I used to build Swasthya Setu:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Layer&lt;/th&gt;
&lt;th&gt;Technology&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Frontend&lt;/td&gt;
&lt;td&gt;React.js, Tailwind CSS, Vite&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Backend&lt;/td&gt;
&lt;td&gt;Node.js, Express.js&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Database&lt;/td&gt;
&lt;td&gt;MongoDB (Atlas)&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Authentication&lt;/td&gt;
&lt;td&gt;JWT, Clerk&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;AI/ML&lt;/td&gt;
&lt;td&gt;Python-based prediction model&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Deployment&lt;/td&gt;
&lt;td&gt;Vercel (Frontend), Render (Backend)&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;I chose the &lt;strong&gt;MERN stack&lt;/strong&gt; because it allows full JavaScript development across the entire application — from the React frontend to the Node.js backend to MongoDB. This consistency made it much easier to develop and debug as a solo developer.&lt;/p&gt;




&lt;h2&gt;
  
  
  💡 Why I Built This
&lt;/h2&gt;

&lt;p&gt;During my third year, I noticed how underserved rural healthcare really is in India. A close family experience made me think: &lt;em&gt;what if patients had a smart app that could monitor their health data and alert them before things got serious?&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;That thought became Swasthya Setu.&lt;/p&gt;

&lt;p&gt;I also wanted to challenge myself technically — integrating AI/ML into a MERN app was something I hadn't done before, and I knew it would push my skills significantly.&lt;/p&gt;




&lt;h2&gt;
  
  
  🚧 Challenges I Faced
&lt;/h2&gt;

&lt;h3&gt;
  
  
  1. Integrating Python ML Model with Node.js Backend
&lt;/h3&gt;

&lt;p&gt;The biggest challenge was connecting a Python-based machine learning prediction model with my Node.js backend. I solved this by running the ML model as a microservice and communicating via REST API calls.&lt;/p&gt;

&lt;h3&gt;
  
  
  2. Handling Real-Time Data
&lt;/h3&gt;

&lt;p&gt;Displaying health metrics in real time on the patient dashboard required careful state management in React. I used &lt;code&gt;useEffect&lt;/code&gt; hooks and polling to keep the dashboard updated without overloading the server.&lt;/p&gt;

&lt;h3&gt;
  
  
  3. Designing for Non-Tech Users
&lt;/h3&gt;

&lt;p&gt;Healthcare users — especially older patients — aren't always tech-savvy. I had to keep the UI extremely simple and intuitive, which meant several redesigns of the dashboard.&lt;/p&gt;

&lt;h3&gt;
  
  
  4. Deployment Configuration
&lt;/h3&gt;

&lt;p&gt;Getting the frontend (Vercel) and backend (Render) to communicate correctly in production, with proper CORS settings and environment variables, took longer than expected. But it was a valuable DevOps lesson.&lt;/p&gt;




&lt;h2&gt;
  
  
  📚 What I Learned
&lt;/h2&gt;

&lt;p&gt;Building Swasthya Sathi as a solo MERN Stack Developer taught me:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Full Stack Architecture&lt;/strong&gt; — designing a system end-to-end, from database schema to UI&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;API Design&lt;/strong&gt; — creating clean, RESTful APIs with proper error handling&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;AI Integration&lt;/strong&gt; — connecting ML models to web applications&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;React State Management&lt;/strong&gt; — handling complex data flows in a real app&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Deployment &amp;amp; DevOps&lt;/strong&gt; — managing production environments across multiple platforms&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;User-Centric Design&lt;/strong&gt; — building for real users, not just for developers&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  🔗 Other Projects I've Built
&lt;/h2&gt;

&lt;p&gt;Alongside Swasthya Sathi, I've been working on several other projects:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;🩸 &lt;strong&gt;Blood Cancer Prediction&lt;/strong&gt; — ML model using Jupyter Notebook to predict blood cancer risk&lt;/li&gt;
&lt;li&gt;🌾 &lt;strong&gt;Crop Recommendation System&lt;/strong&gt; — ML-based crop suggestion app for farmers&lt;/li&gt;
&lt;li&gt;🛡️ &lt;strong&gt;Suraksha Setu&lt;/strong&gt; — Another web app focused on safety (&lt;a href="https://suraksha-setu-oxkw.vercel.app" rel="noopener noreferrer"&gt;Live Demo&lt;/a&gt;)&lt;/li&gt;
&lt;li&gt;🤖 &lt;strong&gt;AI Assistant&lt;/strong&gt; — A conversational AI assistant built with Python&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;All projects are open source on my GitHub: &lt;a href="https://github.com/SubhamKhandual007" rel="noopener noreferrer"&gt;github.com/SubhamKhandual007&lt;/a&gt;&lt;/p&gt;




&lt;h2&gt;
  
  
  🚀 What's Next for Swasthya Setu
&lt;/h2&gt;

&lt;p&gt;I'm planning to add:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Real-time notifications via WebSockets&lt;/li&gt;
&lt;li&gt;Wearable device data integration&lt;/li&gt;
&lt;li&gt;Multilingual support (Odia, Hindi, English)&lt;/li&gt;
&lt;li&gt;Doctor appointment booking module&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  🤝 Let's Connect
&lt;/h2&gt;

&lt;p&gt;I'm &lt;strong&gt;Subham Khandual&lt;/strong&gt;, a MERN Stack Developer actively looking for opportunities — internships, collaborations, or full-time roles after graduation.&lt;/p&gt;

&lt;p&gt;If you're working on something interesting in web development, AI, or healthtech, I'd love to connect!&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;🌐 Portfolio: &lt;a href="//portfolio-nine-alpha-8nkzp7nnk6.vercel.app"&gt;subhamportfoliodemo.vercel.app&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;💼 LinkedIn: &lt;a href="https://www.linkedin.com/in/subham-khandual" rel="noopener noreferrer"&gt;linkedin.com/in/subham-khandual&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;🐙 GitHub: &lt;a href="https://github.com/subham-khandual" rel="noopener noreferrer"&gt;github.com/subham-khandual&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;📧 Email: &lt;a href="mailto:subhamkhandual215@gmail.com"&gt;subhamkhandual215@gmail.com&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;




&lt;p&gt;&lt;em&gt;If you found this post helpful or interesting, drop a ❤️ and follow me for more content on MERN Stack development, AI integration, and real-world project builds!&lt;/em&gt;&lt;/p&gt;




&lt;p&gt;&lt;strong&gt;Tags:&lt;/strong&gt; &lt;code&gt;#mernstack&lt;/code&gt; &lt;code&gt;#react&lt;/code&gt; &lt;code&gt;#nodejs&lt;/code&gt; &lt;code&gt;#mongodb&lt;/code&gt; &lt;code&gt;#webdev&lt;/code&gt; &lt;code&gt;#healthtech&lt;/code&gt; &lt;code&gt;#ai&lt;/code&gt; &lt;code&gt;#javascript&lt;/code&gt; &lt;code&gt;#beginners&lt;/code&gt; &lt;code&gt;#showdev&lt;/code&gt;&lt;/p&gt;

</description>
      <category>ai</category>
      <category>javascript</category>
      <category>showdev</category>
      <category>webdev</category>
    </item>
  </channel>
</rss>
