VIP 👤
🏠 Trang chủ
Benchmark
📊 Tất cả benchmark 🦖 Khủng long v1 🦖 Khủng long v2 ✅ Ứng dụng To-Do List 🎨 Trang tự do sáng tạo 🎯 FSACB - Trình diễn cuối cùng 🌍 Benchmark dịch thuật
Mô hình
🏆 Top 10 mô hình 🆓 Mô hình miễn phí 📋 Tất cả mô hình ⚙️ Kilo Code
Tài nguyên
💬 Thư viện prompt 📖 Thuật ngữ AI 🔗 Liên kết hữu ích 🔌 API và bộ định tuyến 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.