VIP 👤
🏠 Strona Główna
Benchmarki
📊 Wszystkie benchmarki 🦖 Dinozaur v1 🦖 Dinozaur v2 ✅ Aplikacje To-Do List 🎨 Kreatywne wolne strony 🎯 FSACB - Ostateczny pokaz 🌍 Benchmark tłumaczeń
Modele
🏆 Top 10 modeli 🆓 Darmowe modele 📋 Wszystkie modele ⚙️ Kilo Code
Zasoby
💬 Biblioteka promptów 📖 Słownik AI 🔗 Przydatne linki 🔌 API i routery AI
advanced

High-Throughput URL Shortener

#system-design #scalability #database-sharding #caching

Design a scalable URL shortening service focusing on write-heavy loads.

Design a distributed URL shortening service similar to TinyURL or Bitly. The system must handle 100 million write requests per second with low latency. Detail your choice of database (SQL vs. NoSQL), sharding strategy, caching layer (e.g., Redis configuration), and load balancing approach. Specifically address how you will handle hash collisions, guarantee uniqueness, and manage read/write consistency across distributed nodes.