Loading...
GET /short_id
POST /add_uri
{
long_url = long_url
}
Short_URL
id, long_url, expireation_timestamp
API gateway for rate limiting
Backend server for generating tiny uri, persisted in databases cache and serving write traffic
Clean-up service for cleaning up the expired entries in the database
Try to discuss as many failure scenarios/bottlenecks as possible.
What are some future improvements you would make? How would you mitigate the failure scenario(s) you described above?