Loading...
POST /shortenedURL
parameters:
userId,
originalURL
GET /shortenedURL
parameters:
shortenedURL
DELETE /shortenedURL
parameters:
requestingUserId,
shortenedURL
User:
userId
password
URL:
creatorId
shortenedUrl
originalUrl
timestamp
The request from the client will first hit the load balancer, then the load balancer will send the request to the url shortener service, then the service will send the url details to the database, then send a confirmation back to the client
What are some future improvements you would make? How would you mitigate the failure scenario(s) you described above?