Should you find yourself in an interview scenario where you’re tasked with designing a system capable of scaling to millions of users, there are several crucial factors, design choices, and technological selections to keep in mind. It’s important to note… Read More »How would design a system that scales to millions of users on AWS?
Introduction A distributed key-value store is a simple and effective database design. As the name implies, it allows storage of data in a key-value pair, allowing quick and efficient access to the data. Distributed means that the data is spread… Read More »How would you design a distributed key-value store?
Requirements Database Schema The core table you would need is a table to store the URL mappings: This schema is simplified for the demonstration. For a production system, additional data such as URL access statistics and user roles might be… Read More »Design a URL shortening system like bit.ly