# System Design Drawing Seekho: notation cheat sheet (howitworks.io, Ep 1)

Interview whiteboard ya Excalidraw, dono par yahi chalega. Pehle legend banao, phir diagram.

## 12 components (har diagram mein yahi aate hain)

| # | Component | Kaise draw karo | Kab aata hai |
|---|-----------|-----------------|--------------|
| 1 | Client | monitor / phone icon | user ka browser ya app |
| 2 | DNS | globe | domain ko IP mein badalna |
| 3 | CDN | cloud | static files (images, JS) user ke paas se |
| 4 | Load balancer | box + teen nikalti lines | traffic ko kai servers mein baantna |
| 5 | API gateway | grid box | auth, rate limit, routing ek jagah |
| 6 | Service | rectangle (naam likho) | aapka business logic |
| 7 | Cache | rectangle, label "Redis" ya "cache" | baar baar padha jaane wala data |
| 8 | Database | cylinder (sirf database ke liye) | permanent data |
| 9 | Queue | lambi patti, khaane wali | kaam baad mein, async |
| 10 | Object storage | bucket | files, videos, backups (S3 jaisa) |
| 11 | Worker | gear | queue se kaam utha kar chalana |
| 12 | External API | box + "API" | payment, SMS, maps jaisi bahar ki service |

Rule: cylinder sirf database. Cache ko cylinder mat banao.

## 5 arrows

| Arrow | Matlab |
|-------|--------|
| Solid  ──────>  | request (sync call) |
| Two-way <─────> | persistent connection (WebSocket) |
| Dotted - - - -> | async (queue, event) |
| Numbered (1)(2)(3) | sequence: kaunsa step pehle |
| Colour: green / red | green = read, red = write |

Diagram ke kone mein ye legend chhota sa bana do. Interviewer ko turant samajh aata hai.

## 4 diagrams: kaunsa kab

| Diagram | Kab |
|---------|-----|
| HLD (high-level design) | hamesha pehle: boxes + arrows, poora system |
| Sequence | jab order dikhana ho: kaun kisko kab call karta hai |
| ER (entity-relationship) | data ke liye: tables aur unke rishte |
| Deployment | jab poocha jaaye "chalta kahan hai": servers, regions, containers |

## Interview mein 5 step

1. Requirements bolo (users, reads vs writes, latency).
2. HLD: client se database tak boxes, solid arrows, numbered steps.
3. Reads green, writes red. Async kaam dotted arrow se queue + worker.
4. Ek flow ka sequence diagram (jaise "order place karna").
5. Bottleneck batao aur cache / replica / queue kahan lagega.

Sources: Final Round AI, Q1 2026 Tech Interview Trends (585,100 sessions, 7,000+ companies);
Stack Overflow Developer Survey 2026 (63.4% developers technical design / architecture decisions lete hain).
Saare episodes: https://howitworksio.com/system-design-drawing/
