Loading...
POST -> https://tinyurl.com
Request Body: Original Url
Response: Shortened URL
GET -> https://tinyurl.com/shortnedurl -> redirect to original url
I have created the high level diagram as you see in Excalidraw.
We are going to use the Loadbalancer to serve request evenly across all the servers. Using distributed Redis Cache for getting the actual Url for the shorten url. And we are using Apache Cassandra for more Availability by specifying consistency to Quoram.