The client sends a POST request with the target long URL (e.g., https://dheetcode.in/problems/two-sum). The Edge Load Balancer terminates TLS, inspects client IP headers for rate-limiting, and forwards the packet inward.
ACTIVE WIRE PROTOCOL
HTTPS POST /api/v1/shorten
POST /api/v1/shorten HTTP/2
CLIENT
SOURCE
Client / Browser
Writes & Redirects
EDGE LB
ROUTING
Edge LB / Cloudflare
Anycast & Rate Limiting
GATEWAY
URL Shortener API
Stateless Node Cluster
KEYGEN (KGS)
Key Generation (KGS)
Base62 Pre-allocated Tokens
BLOOM FILTER
Bloom Filter (In-Memory)
O(1) Existence Validation
REDIS CACHE
Redis Cache (LRU)
Hot URLs (Sub-2ms Hits)
PRIMARY DB
Primary SQL / NoSQL
Master Table (Writes & TTL)
READ REPLICAS
DB Read Replicas
Cold Reads & Analytics
TIMELINE:
Click any step pill or block to inspect • Press PLAY to resume flow.