How to reverse-engineer a deployed product into its design.
Reading Existing Systems: how to reverse-engineer a deployed product into its design
frame the problem before drawing the system
CDN delivers most bytes for ~$0.01/GB; recompute would cost orders of magnitude m...
Designing systems gets easier when you can read other systems. From a product's URLs, response headers, latency, and feature behavior you can usually infer 70% of its architecture: where it caches, what shards by user, what runs at the edge.
Public clues. Cookie/auth headers reveal session vs token auth. CDN headers (cf-cache-status, x-amz-cf-id) reveal caching. URL shape reveals routing/sharding boundaries.
Latency clues. A 30ms response from Tokyo to a US-only product means edge cache. A 600ms first-byte every time means no cache or per-user dynamic content.
Feature clues. 'Likes' that update instantly for you but appear delayed to others reveal eventual consistency and probably a write-through cache. Rate-limit responses (429) hint at gateway sophistication.
Reverse-engineer a popular news site's homepage architecture.