a systematic approach to building and engineering systems
are two phases and each focusing on different levels of system design.
| Aspect | High-Level Design (HLD) | Low-Level Design (LLD) |
|---|---|---|
| Focus | System architecture, major components | Component internals, detailed logic |
| Audience | Architects, project managers, senior devs | Developers |
| Details | Modules, data flow, database architecture | Class structure, data structures, API details, DB fields |
| Example | explain dataflow b/w each services in MS | explain particular service in MS |
(https://www.youtube.com/watch?v=Nx4bvwU0DqE)[https://www.youtube.com/watch?v=Nx4bvwU0DqE]
| Horizontal scaling | Vertical scaling | |—————————|———————————–| | More number of servers | Bigger server | | LoadBalancing required | N/a | | Resilient | Single point of failure | | Network calls(Rpc) | Inter process communication | | Data inconsistence | Consistence | | Scales well as user grow | Hardware limit | —————————————————————–
Content delivery network