🏠 Home
Benchmark
📊 Tutti i benchmark 🦖 Dinosauro v1 🦖 Dinosauro v2 ✅ App To-Do List 🎨 Pagine libere creative 🎯 FSACB - Ultimate Showcase 🌍 Benchmark traduzione
Modelli
🏆 Top 10 modelli 🆓 Modelli gratuiti 📋 Tutti i modelli ⚙️ Kilo Code
Risorse
💬 Libreria di prompt 📖 Glossario IA 🔗 Link utili
Advanced

Microservices Architecture Audit

#system-design #microservices #audit #scalability

Perform a critical audit of a high-scale microservices architecture focusing on communication patterns and data consistency.

Act as a Principal Software Architect. You are tasked with auditing a proposed microservices architecture for a high-frequency e-commerce platform expected to handle 50,000 concurrent users. Analyze the following design specifications: 1. Services communicate synchronously via REST for all transactions. 2. The Order Service writes directly to the Inventory Service database to update stock. 3. No message queue or event bus is implemented. Identify the anti-patterns used, explain the failure modes under high load, and propose a refactoring strategy introducing asynchronous communication and eventual consistency patterns. Provide a sequence diagram of the improved flow.