अनुमान आणि क्षमता नियोजन — अपेक्षित लोड, डेटा व्हॉल्यूम आणि संसाधन आवश्यकताओं की गणना करना — सिस्टम डिजाइनका महत्वपूर्ण भाग आहे। कठोर "बॅक-ऑफ-द-एनवलप" गणनाएं डिजाइन निर्णयों को सूचित करती हैं (कितना स्केल करना है, कौन से संसाधन आवश्यक हैं) और डिजाइन साक्षात्कार में आम हैं।
अनुमान का महत्व
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
