Loading...
Estimate the scale of the system you are going to design...
host - www.bitly.com
{
"url":""
}
2. GET /v1/shorten? url=? -> Returns a long url mapped to short url.
In Cache -
Key: LongUrl
Value: shortUrl
Explain any trade offs you have made and why you made certain tech choices...
What are some future improvements you would make? How would you mitigate the failure scenario(s) you described above?