Two endpoints:
getShortUrl
getOriginalUrl
One service, one cache node like redis and one nosql database
The service is connected to the redis, and the nosql