system design problem (साक्षात्कार वा वास्तविक काममा) को दृष्टिकोण एक संरचित विधिबाट लाभान्वित हुन्छ — आवश्यकताहरू स्पष्ट गरेर, स्केल अनुमान गरेर, उच्च-स्तरीय त्यपछि विस्तृत डिजाइन गरेर, र ट्रेड-अफ्स छलफल गरेर। एक पद्धतिगत दृष्टिकोण राम्रो डिजाइनहरूमा नेतृत्व गर्दछ।
एक संरचित दृष्टिकोण
1. CLARIFY REQUIREMENTS → functional (what it does) + non-functional (scale, latency,
availability, consistency); scope it (don't assume — ask questions, narrow the problem)
2. ESTIMATE SCALE → users, requests/sec, data volume, read/write ratio → informs the design
3. HIGH-LEVEL DESIGN → main components and data flow (clients, services, databases, caches,
load balancers, queues); draw the architecture
4. DETAILED DESIGN → data model/schema; key components in depth; APIs; specific challenges
5. SCALE & OPTIMIZE → identify bottlenecks; apply techniques (caching, load balancing,
sharding, replication, async); discuss TRADE-OFFS
6. ADDRESS concerns → reliability, consistency, edge cases, failures
