{
  "id": 9906243,
  "title": "Day 21 - Scaling - Horizontal vs Vertical Scaling - কোনটা কখন করবেন?",
  "url": "https://urgent.news/2026/09/26/day-21-scaling-horizontal-vs-vertical-scaling",
  "topic": "tech",
  "section": "Tech",
  "published": "2026-09-26T04:20:00.000Z",
  "source": {
    "name": "Dev.to",
    "slug": "dev-to",
    "url": "https://dev.to/mislam-dev/day-21-scaling-horizontal-vs-vertical-scaling-konttaa-kkhn-krben-ge7"
  },
  "original_language": "en",
  "account": "Day 21 - Scaling - Horizontal vs Vertical Scaling - কোনটা কখন করবেন?\n\nA once-viral application now suffers as user count crosses a million, causing server overload and data inconsistency issues. Resource scaling has become necessary.\n\nVertical scaling involves increasing a single machine's CPU, memory, and storage. However, this approach has reached its limits as the largest server is also finite, and single points of failure can cause downtime.\n\nHorizontal scaling, on the other hand, introduces multiple machines to distribute user traffic. Theoretically, this allows for unlimited scaling and higher availability. A load balancer directs traffic to these machines, ensuring optimal performance. But stateful applications, particularly those relying on session-based authentication, can cause issues. A separate Redis database with TTL expiration can mitigate this problem.\n\nDatabase scaling is another critical consideration. With multiple servers handling user traffic, database load remains the same. Scaling databases can be challenging, with options like vertical scaling, read replicas, sharding, or caching. The best strategy depends on the specific situation and budget constraints. Overall, a thoughtful, stateless architecture and appropriate scaling methods will ensure smooth operation and high availability.",
  "summary": "আপনার build করা application-টি এতই viral হয়ে গেছে যে, এর user base lakh cross করে গেছে। এবং concurrent user লাখের কাছাকাছি। এই অবস্থায় আপনার যে server আছে, তা user-দের load নিতে পারছে না। Peak time-এ user-দের wait করতে হচ্ছে। Data inconsistency-র একটা issue দেখা দিচ্ছে। মাঝে মাঝে server crash করছে। মাঝে মাঝে database-এ data insert হচ্ছে না। অবস্থা একদম বেগতিক হয়ে গেছে। এখন এর সমাধান হচ্ছে…",
  "key_points": [
    "Vertical scaling limits reached with largest server finite",
    "Horizontal scaling distributes traffic across multiple machines",
    "Redis database with TTL expiration mitigates stateful issues"
  ],
  "editors_take": "Adopting horizontal scaling over vertical scaling allows for theoretically unlimited scaling and higher availability, but requires careful handling of stateful applications and database load to ensure smooth operation.",
  "illustration": null,
  "coverage": {
    "outlets": 1,
    "also_reported_by": []
  },
  "ai_generated": true,
  "disclaimer": "Summaries, key points and the editor’s take are written by software from other outlets’ reporting and may contain errors — always check the linked original."
}