অনুমান এবং ক্ষমতা পরিকল্পনা — প্রত্যাশিত লোড, ডেটা ভলিউম এবং সম্পদের চাহিদা গণনা করা — সিস্টেম ডিজাইনের একটি গুরুত্বপূর্ণ অংশ। মোটামুটি "ব্যাক-অফ-দ্য-এনভেলপ" গণনা ডিজাইন সিদ্ধান্তগুলিকে জানায় (কতটা স্কেল করতে হবে, কি সম্পদ প্রয়োজন) এবং ডিজাইন সাক্ষাৎকারে সাধারণ।
অনুমান কেন গুরুত্বপূর্ণ
Estimating scale informs DESIGN decisions:
→ how many servers? how much storage? what database? do you need sharding/caching?
→ understanding the SCALE (small vs massive) shapes the whole design
→ rough numbers guide whether/how to scale (don't over- or under-engineer)
কী অনুমান করতে হবে (ব্যাক-অফ-দ্য-এনভেলপ)
✓ TRAFFIC → users, requests/sec (QPS); read vs write ratio (e.g. 100:1 reads:writes)
→ peak vs average (design for peak); daily active users → requests
✓ STORAGE → data size per item × volume × growth over time → total storage (and growth rate)
✓ BANDWIDTH → data transferred per second (request size × QPS)
✓ MEMORY → cache size needed (e.g. cache the hot 20% of data)
→ rough estimates (order of magnitude) → good enough to inform design
