Why this matters
- Interviewers use LLD to test whether you can turn a vague product idea into maintainable code.
- Confusing LLD with HLD leads to talking about Kafka when they wanted your class diagram.
- CampusOS problems in this track all start in one JVM — scale-out belongs in System Design.
One service box from HLD expands into this class graph.
What LLD actually covers
Low-level design answers how code is organised inside a service:
- Classes, interfaces, enums, and their relationships
- Public APIs and invariants on domain objects
- Design patterns applied to a concrete problem
- Thread safety and data-structure choices in one process
You are not sizing clusters or picking databases — unless the interviewer explicitly bridges into HLD.
What HLD covers instead
High-level design names boxes and arrows between services:
- Which microservices exist and what each owns
- Data stores, caches, queues, and replication
- Capacity, latency targets, and failure domains
| Aspect | ||
|---|---|---|
| One service / module | Whole platform | |
| Class diagram + Java skeleton | Architecture diagram + data flow | |
| ParkingLot allocates spots | Parking service scales to 10M users | |
| 35–45 minutes | 45–60 minutes |
- One service / moduleWhole platform
- Class diagram + Java skeletonArchitecture diagram + data flow
- ParkingLot allocates spotsParking service scales to 10M users
- 35–45 minutes45–60 minutes
How they connect in CampusOS
Every CampusOS module in this track is one deployable slice. The parking module's ParkingLot class is one box inside the "Campus Mobility" service on an HLD diagram.
When an article ends with CampusOS extension, it points to where HLD picks up — sharding tickets, payment queues, display boards at the edge.
Quick recall
Everything you need if you only revisit this box.
- LLD = classes, APIs, patterns inside one process
- HLD = services, data stores, scale and reliability
- CampusOS modules map to one HLD service box each
- Say the boundary before drawing
Test yourself
Answer these before moving on — recall is what makes it stick.