Loading...
Be able to create short links and get the short links
idk?
100rps
User login register logout to make the links
POST /link/
GET /link/{link}
We have microservices a user service using which the user logs in with its own db
then a link service where the user can make a link or get the original long link
when making a short link a worker uses outbox pattern to send a message to a consumer and a consumer get that link and shortlink combination and writes it to the db
then a replicated readonly db coppies the write and a user using cache writethrough can get the original link
i use sql because the data is structured and its engough for the task at hand?
i already explained it in high level design, do i have to do that again here?