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

Design a Distributed Key-Value Store

#architecture #distributed-systems #scalability #engineering

Architect a high-availability distributed key-value store with specific consistency requirements.

Act as a Principal System Architect. Design a distributed key-value store similar to DynamoDB. Your design must address the following requirements: 1) High availability (99.99% uptime), 2) Low latency (single-digit milliseconds for reads), 3) Eventual consistency with tunable options for strong consistency, 4) Automatic data partitioning and replication, and 5) Fault tolerance. Describe the data partitioning strategy (e.g., consistent hashing), the replication protocol (e.g., Raft, Paxos, or gossip), and the handling of node failures and network partitions. Provide a high-level component diagram and explain the write and read paths.