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

Distributed System Scalability Analysis

#system-design #architecture #scalability #performance

Analyze a hypothetical distributed system for bottlenecks and propose a comprehensive scalability strategy involving caching, sharding, and load balancing.

Act as a Principal Systems Architect. A microservices-based e-commerce platform is experiencing high latency (P99 > 2s) and database CPU saturation during flash sales events. The current architecture uses a monolithic SQL database, a Redis cache for sessions only, and a round-robin load balancer. Propose a detailed refactoring roadmap to handle 100k concurrent requests. Your proposal must include specific database partitioning strategies (sharding), caching invalidation patterns, CDN integration, and a message queue implementation for decoupling services. Explain the trade-offs of consistency versus availability (CAP theorem) in your design.