Loading...
External Endpoints:
URL conversion table:
Shard databases by root domain alphabetically
Client -> Loadbalancer -> Server
Client POST:
Client GET:
Client -> Loadbalancer -> Server
Use Redis cache to cache shortened URLs
Serverside logic when writing to DB will first check if existing in cache, if not then update DB and update cache
NoSQL for database because Orignal_URL:shortened_URL will pretty much just be a key value pair
Bottleneck:
Failure to convert:
What are some future improvements you would make? How would you mitigate the failure scenario(s) you described above?