Loading...
There will be an post endpoint, which will be used for the following:
We will use an SQL database to save the mapping and detail of the original and shortened url.
We will also be using a cache(Redis) for saving the mapping, it will reduce the database call.
Deep dive into 2-3 key components. Explain how they work, how they scale, discuss tradeoffs, capacity, and any relevant algorithms or data structures.