Why System Design Matters
Think of a home kitchen and a restaurant kitchen. Both can cook the same meal. But the restaurant must cook 300 meals in one evening, keep the food safe, and stay open when one cook is sick. Software works the same way. A feature that works for one user is a good start. System design asks if the whole system still works when many users, failures, and costs come at the same time.
7 min read7 মিনিটে পড়া যায় · 6 sections6টি সেকশন · 9 sources9টি সোর্স · updated Nov 2026আপডেট: Nov 2026
In plain words
Most people start to learn software with one question: "How can I build this feature?" That skill is important. But in real work, a working feature is only the first step.
A beginner often thinks: login works, the payment button works, and file upload works, so the system is complete. An engineer asks more questions:
- What happens if 10,000 users come at the same time?
- What happens if the server suddenly stops?
- What if a payment succeeds, but the confirmation message fails?
- What if a user uploads a file that is much larger than expected?
- What if one user sends thousands of requests per minute?
- Which data must never be lost?
- Which part becomes slow first when traffic grows?
- Which work can run in the background, so that users do not wait?
- How will we find a problem before customers report it?
These are not rare cases. Microsoft's failure mode analysis guide says that failures happen no matter how many layers of resiliency you apply Source 6সোর্স 6. One job of monitoring is alerting: it tells the team that something is broken, or that something might break soon Source 7সোর্স 7.
In this module, system design means the high-level plan of a software system. It shows how the main parts work together. A design plan usually covers how traffic comes in, the network, compute (the servers that run code), data, storage, and supporting services such as login and messaging Source 6সোর্স 6. In this module, the main parts are the client, the backend, the database, the cache, the queue, file storage, monitoring, security, and deployment.
System design is not only drawing diagrams. The real work is making trade-offs. A trade-off is a choice where you get more of one good quality and accept less of another. Microsoft calls trade-offs accepted compromises that balance the different qualities Source 1সোর্স 1. Microsoft's Well-Architected Framework has five areas, or pillars: reliability, security, cost optimization, operational excellence, and performance efficiency Source 1সোর্স 1. It says that design decisions must be balanced across all pillars, given the business requirements Source 1সোর্স 1. The AWS Well-Architected Framework also exists to help you understand the pros and cons of your decisions Source 2সোর্স 2.
| Trade-off | What it means |
|---|---|
| Simplicity vs scalability | A system that partitions its data across many stores can scale, but partitioning adds complexity to the design and development of the workload Source 5সোর্স 5. |
| Cost vs availability | More spare copies of each part keep the system up, but more redundancy means more cost Source 4সোর্স 4. |
| Performance vs consistency | In a distributed database, the consistency level sets the trade-off between consistency and performance Source 5সোর্স 5. Consistency means that all copies have the same data at the same time Source 5সোর্স 5. |
| Synchronous vs asynchronous | In synchronous work, the caller waits until the work ends. Asynchronous code asks for a task to run without stopping to wait for it to complete Source 8সোর্স 8. With a message queue, parts can do their tasks independently, at their own pace Source 5সোর্স 5. |
Perfect reliability is not the goal. Google's SRE book says that extreme reliability comes at a cost Source 3সোর্স 3, and that 100% is probably never the right reliability target Source 3সোর্স 3. So the question is always: how reliable, how fast, and how cheap must this system be for its users?
Coding teaches you how to build a feature. System design teaches you how to build a system that survives.
Open the image in full sizeছবিটি পূর্ণ আকারে খুলুনসহজ English
Learning software often starts with one question: "How can I build this feature?" But in real work, a working feature is only the first step.
A beginner can think: login, payment, and file upload work, so the system is complete. An engineer asks more questions. What if 10,000 users come at the same time? What if the server stops? What if a payment succeeds, but the confirmation message fails?
These are not rare cases. Failures happen, no matter how many layers of protection you add Source 6সোর্স 6. Monitoring can tell the team that something is broken, or that something might break soon Source 7সোর্স 7.
In this module, system design is the high-level plan of a software system. It shows how the main parts work together. The real work is to make trade-offs. In a trade-off, you get more of one good quality and accept less of another.
Perfect reliability is not the goal. 100% is probably never the right reliability target Source 3সোর্স 3. Coding teaches you how to build a feature. System design teaches you how to build a system that survives.
বাংলা ব্যাখ্যা
Software শেখার সময় বেশিরভাগ মানুষ একটি প্রশ্ন দিয়ে শুরু করেন: "এই feature-টি কীভাবে বানাব?" এই দক্ষতা গুরুত্বপূর্ণ। কিন্তু বাস্তব কাজে একটি চালু feature শুধু প্রথম ধাপ।
একজন beginner ভাবতে পারেন: login, payment button আর file upload কাজ করছে, তাই system সম্পূর্ণ। একজন engineer আরও প্রশ্ন করেন। একসাথে 10,000 user এলে কী হবে? Server হঠাৎ বন্ধ হলে কী হবে? Payment সফল হলো, কিন্তু confirmation message fail করলে কী হবে? একজন user প্রতি মিনিটে হাজার হাজার request পাঠালে কী হবে? কোন data কখনো হারানো যাবে না? Customer জানানোর আগে আমরা problem কীভাবে খুঁজে পাব?
এগুলো বিরল ঘটনা নয়। Microsoft-এর failure mode analysis guide বলে, যত স্তরের resiliency-ই প্রয়োগ করুন, failure ঘটবেই Source 6সোর্স 6। Monitoring-এর একটি কাজ হলো alerting: কিছু নষ্ট হয়েছে, বা শিগগির নষ্ট হতে পারে, তা team-কে জানানো Source 7সোর্স 7।
এই module-এ system design মানে একটি software system-এর high-level পরিকল্পনা, যা দেখায় মূল অংশগুলো কীভাবে একসাথে কাজ করে। এখানে মূল অংশগুলো হলো client, backend, database, cache, queue, file storage, monitoring, security এবং deployment।
System design শুধু diagram আঁকা নয়। আসল কাজ হলো trade-off করা: একটি ভালো গুণ বেশি পেতে অন্য একটি গুণ কম মেনে নেওয়া। Microsoft-এর Well-Architected Framework-এর পাঁচটি pillar আছে: reliability, security, cost optimization, operational excellence এবং performance efficiency Source 1সোর্স 1। যেমন, প্রতিটি অংশের বেশি spare copy system-কে চালু রাখে, কিন্তু বেশি redundancy মানে বেশি খরচ Source 4সোর্স 4।
Perfect reliability লক্ষ্য নয়। Google-এর SRE book বলে, 100% সম্ভবত কখনোই সঠিক reliability target নয় Source 3সোর্স 3। Coding আপনাকে feature বানাতে শেখায়; system design শেখায় এমন system বানাতে, যা টিকে থাকে।
When you need it
- The number of users or the traffic grows.
- A campaign, a product launch, a flash sale, or a seasonal peak is near.
- The system handles payments, wallets, orders, enrollments, or other money.
- The system handles files, images, videos, PDFs, or large uploads and downloads.
- Downtime can cause lost business or lost user trust. Without spare parts, there is a high risk of long downtime when something fails Source 4সোর্স 4.
- The product has a plan to grow in the future.
সহজ English
You need system design in these cases:
- The number of users or the traffic grows.
- A campaign, a product launch, a flash sale, or a seasonal peak is near.
- The system handles money: payments, wallets, orders, or enrollments.
- The system handles files, images, videos, PDFs, or large uploads and downloads.
- Downtime can cause lost business or lost user trust. Without spare parts, the risk of long downtime is high when something fails Source 4সোর্স 4.
- The product has a plan to grow in the future.
বাংলা ব্যাখ্যা
এই অবস্থাগুলোতে system design দরকার:
- User-এর সংখ্যা বা traffic বাড়ছে।
- একটি campaign, product launch, flash sale, বা seasonal peak সামনে আছে।
- System payment, wallet, order, enrollment বা অন্য টাকার কাজ সামলায়।
- System file, image, video, PDF, বা বড় upload ও download সামলায়।
- Downtime হলে business বা user-এর বিশ্বাস হারানোর ঝুঁকি আছে। Spare অংশ না থাকলে, কিছু fail করলে দীর্ঘ downtime-এর ঝুঁকি বেশি Source 4সোর্স 4।
- Product-টির ভবিষ্যতে বড় হওয়ার পরিকল্পনা আছে।
A real-life example
An online learning platform, or LMS (learning management system), works well with 200 students. Then admission day comes. Now 10,000 visitors try to log in, pay, watch videos, and download certificates at the same time.
The team sees these problems:
- Login is slow.
- The payment callback is late. (A callback is the message from the payment provider that confirms a payment.)
- Videos do not load.
- Certificate downloads time out.
- The database is overloaded.
These are not only coding bugs. Many of them are architecture risks. The login code can be correct and still be slow, because every request waits for the same busy database. A workload that scales well can handle increased traffic without performance degradation Source 5সোর্স 5, so one that cannot scale is at risk at peak times.
সহজ English
Think of an online learning platform, or LMS (learning management system). It works well with 200 students. Then admission day comes. Now 10,000 visitors try to log in, pay, watch videos, and download certificates at the same time.
Login is slow. The payment callback is late. (The callback is the message from the payment provider that confirms a payment.) Videos do not load. Certificate downloads time out. The database is overloaded.
These problems are not only coding bugs. Many of them are architecture risks. The login code can be correct and still be slow, because every request waits for the same busy database. A workload that scales well can handle increased traffic without performance degradation Source 5সোর্স 5, so one that cannot scale is at risk at peak times.
বাংলা ব্যাখ্যা
একটি online learning platform, বা LMS (learning management system), ধরুন। এটি 200 জন student নিয়ে ভালো চলে। তারপর admission day আসে। এখন 10,000 visitor একসাথে login করতে, pay করতে, video দেখতে এবং certificate download করতে চেষ্টা করে।
Team এই problem-গুলো দেখে: login ধীর; payment callback দেরিতে আসে (callback হলো payment provider-এর পাঠানো message, যা payment নিশ্চিত করে); video load হয় না; certificate download time out হয়; database overloaded হয়।
এগুলো শুধু coding bug নয়। এর অনেকগুলোই architecture-এর ঝুঁকি। Login code ঠিক থাকলেও ধীর হতে পারে, কারণ প্রতিটি request একই ব্যস্ত database-এর জন্য অপেক্ষা করে। যে workload ভালোভাবে scale করে, সেটি বাড়তি traffic-এও performance degradation ছাড়া চলতে পারে Source 5সোর্স 5, তাই যেটি scale করতে পারে না, সেটি peak সময়ে ঝুঁকিতে থাকে।
Common mistakes
- Thinking that system design is only a diagram. The diagram is the output. The trade-off decisions are the real work.
- Testing with one user and small data only. Problems with load, large files, and failures stay hidden until production.
- Designing for millions of users on day one. The system becomes expensive and complex before it needs to be.
- Aiming for 100% uptime. It is not possible, and the cost grows fast as you get close to it Source 3সোর্স 3.
- Testing only the happy path. A payment provider, an SMS service, or the network can fail. If nobody planned for that, users see strange errors or lose data.
- Adding monitoring after the first outage. Then customers find the problem first.
সহজ English
Teams often make these mistakes:
- They think that system design is only a diagram. But the diagram is the output. The trade-off decisions are the real work.
- They test with one user and small data only. Then problems with load, large files, and failures stay hidden until production.
- They design for millions of users on day one. Then the system becomes expensive and complex before it needs to be.
- They aim for 100% uptime. That is not possible, and the cost grows fast as you get close to it Source 3সোর্স 3.
- They test only the happy path, where all goes well. But a payment provider, an SMS service, or the network can fail. If nobody planned for that, users see strange errors or lose data.
- They add monitoring after the first outage. Then customers find the problem first.
বাংলা ব্যাখ্যা
Team-গুলো প্রায়ই এই ভুলগুলো করে:
- System design-কে শুধু একটি diagram ভাবা। Diagram হলো ফলাফল। আসল কাজ হলো trade-off-এর সিদ্ধান্ত।
- শুধু একজন user আর অল্প data দিয়ে test করা। তখন load, বড় file আর failure-এর problem production পর্যন্ত লুকিয়ে থাকে।
- প্রথম দিনেই লাখ লাখ user-এর জন্য design করা। দরকারের আগেই system ব্যয়বহুল ও জটিল হয়ে যায়।
- 100% uptime-কে লক্ষ্য করা। এটি সম্ভব নয়, আর এর কাছাকাছি যেতে খরচ দ্রুত বাড়ে Source 3সোর্স 3।
- শুধু happy path test করা। Payment provider, SMS service বা network fail করতে পারে। কেউ এর জন্য পরিকল্পনা না করলে user অদ্ভুত error দেখেন বা data হারান।
- প্রথম outage-এর পরে monitoring যোগ করা। তখন customer-রাই প্রথমে problem খুঁজে পান।
What a tester can check
Tutorial advice
These test ideas are the tutorial's own advice.
- Ask for the expected peak traffic (for example, admission day). Test at that load, not only at normal load.
- For each money flow, test the case where the payment succeeds but the confirmation step fails. Check that the user is not charged two times and that the order is not lost.
- Upload a file that is much larger than the limit. Check the error message, and check that the server stays healthy.
- Send many requests per minute from one user. Check that the system limits that user and that other users are not affected.
- In a test environment, stop one dependency (the database, the SMS service, or the email service). Check what the user sees.
- Ask how the team will know about a failure. Check that an alert fires before a user reports the problem.
সহজ English
These test ideas are the tutorial's own advice.
- Ask for the expected peak traffic, for example on admission day. Test at that load, not only at normal load.
- For each money flow, test this case: the payment succeeds, but the confirmation step fails. Check that the user is not charged two times and that the order is not lost.
- Upload a file that is much larger than the limit. Check the error message. Check that the server stays healthy.
- From one user, send many requests per minute. Check that the system limits that user and that other users are not affected.
- In a test environment, stop one dependency: the database, the SMS service, or the email service. Check what the user sees.
- Ask how the team will know about a failure. Check that an alert fires before a user reports the problem.
বাংলা ব্যাখ্যা
এই test idea-গুলো tutorial-এর নিজস্ব পরামর্শ।
- প্রত্যাশিত peak traffic জেনে নিন (যেমন admission day)। শুধু স্বাভাবিক load-এ নয়, সেই load-এ test করুন।
- প্রতিটি টাকার flow-তে এই case test করুন: payment সফল হয়, কিন্তু confirmation ধাপ fail করে। দেখুন user-এর কাছ থেকে দুইবার টাকা কাটা হচ্ছে না এবং order হারাচ্ছে না।
- Limit-এর চেয়ে অনেক বড় একটি file upload করুন। Error message দেখুন, এবং server healthy থাকছে কি না দেখুন।
- একজন user থেকে প্রতি মিনিটে অনেক request পাঠান। দেখুন system সেই user-কে limit করছে এবং অন্য user-রা প্রভাবিত হচ্ছেন না।
- একটি test environment-এ একটি dependency (database, SMS service বা email service) বন্ধ করুন। User কী দেখেন, তা দেখুন।
- Team কীভাবে failure-এর কথা জানবে, তা জিজ্ঞেস করুন। দেখুন user problem জানানোর আগেই alert আসছে কি না।
Key words
| Word | Meaning |
|---|---|
| System design | The high-level plan that shows how the main parts of a system work together |
| Trade-off | A choice where you get more of one quality and accept less of another |
| Scalability | The ability of a system to change its capacity when demand goes up or down Source 5সোর্স 5 |
| Availability | How much of the time the system is up. It is often measured as the share of uptime Source 3সোর্স 3. |
| Reliability | The ability of a system to do its job correctly and consistently when users expect it to Source 9সোর্স 9 |
| Redundancy | Multiple identical copies of a part Source 4সোর্স 4, so that the system keeps working when one copy fails |
| Consistency | All copies of the data show the same value at the same time Source 5সোর্স 5 |
| Synchronous | The caller waits until the work is done. It is the opposite of asynchronous Source 8সোর্স 8. |
| Asynchronous | The caller does not stop to wait for the work to complete Source 8সোর্স 8. A message queue is one way to do this Source 5সোর্স 5. |
| LMS | Learning management system: a platform for online courses |