12/4/2023 0 Comments Design tinyurl solution![]() Between Application Servers and Cache servers.Between Application Servers and database servers.Between Clients and Application servers.We can add a Load balancing layer at three places in our system: The last sixĬharacters of this URL is the short key we want to generate. In the TinyURL example in Section 1, the shortened URL is “ ”. The problem we are solving here is, how to generate a short and unique key for a given URL. A NoSQL choice would also be easier to scale. Need to use relationships between objects – a NoSQL key-value store like DynamoDB, Cassandra or ![]() What kind of database should we use? Since we anticipate storing billions of rows, and we don’t We would need two tables: one for storing information about the URL mappings, and one for the user’s There are no relationships between records-other than storing which user created a URL. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |