Tiniu is a URL shortener that uses a database to store and lookup URLs. It is designed to be scalable and fault-tolerant, with a focus on simplicity and ease of use.
- Database partitioning using consistent hashing
- Load balancer for simulating scalability
- Caching for frequent lookups
- Basic URL shortening and redirection
Implement basic URL shortening and redirection. Add caching for frequent lookups. Set up database partitioning using consistent hashing. Add a load balancer to simulate scalability.