VIP 👤
🏠 Início
Avaliações
📊 Todos os Benchmarks 🦖 Dinossauro v1 🦖 Dinossauro v2 ✅ Aplicações To-Do List 🎨 Páginas Livres Criativas 🎯 FSACB - Showcase Definitivo 🌍 Benchmark de Tradução
Modelos
🏆 Top 10 Modelos 🆓 Modelos Gratuitos 📋 Todos os Modelos ⚙️ Kilo Code
Recursos
💬 Biblioteca de Prompts 📖 Glossário de IA 🔗 Links Úteis 🔌 APIs e roteadores
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.