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

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.