Loading...
POST url/shortner
GET url/
GET call redirects to the actual URL if the URL is found, returns not-found if its not found
HLD drawn in the diagram section
CDN is used to frequently accessed websites
Hot URLs are cached in cache and redirects them
Cache aside write is used
Shortner service: Hash the URL, and persists them in DB if the URL doesn't exist.