VIP 👤
🏠 首页
基准测试
📊 所有基准测试 🦖 恐龙 v1 🦖 恐龙 v2 ✅ 待办事项应用 🎨 创意自由页面 🎯 FSACB - 终极展示 🌍 翻译基准测试
模型
🏆 前 10 名模型 🆓 免费模型 📋 所有模型 ⚙️ 🛠️ 千行代码模式
资源
💬 💬 提示库 📖 📖 AI 词汇表 🔗 🔗 有用链接 🔌 AI API 与路由器
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.