🏠 Home
Benchmark Hub
📊 All Benchmarks 🦖 Dinosaur v1 🦖 Dinosaur v2 ✅ To-Do List Applications 🎨 Creative Free Pages 🎯 FSACB - Ultimate Showcase 🌍 Translation Benchmark
Models
🏆 Top 10 Models 🆓 Free Models 📋 All Models ⚙️ Kilo Code
Resources
💬 Prompts Library 📖 AI Glossary 🔗 Useful Links
Advanced

Design a Microservices Event-Driven Architecture

#system-design #microservices #event-sourcing #architecture #kafka

Guide the user through designing a resilient, scalable event-driven system for a high-frequency trading platform.

Act as a Senior Solutions Architect. Design a comprehensive event-driven microservices architecture for a high-frequency trading platform. The system must handle 100k transactions per second with sub-millisecond latency. Define core services (Order Management, Risk Engine, Market Data Gateway), messaging protocols (Kafka vs. RabbitMQ), data consistency strategies (CQRS, Event Sourcing), and fault tolerance mechanisms (Circuit Breakers, Bulkheads). Provide a detailed explanation of the data flow from order entry to execution, including how to handle partial failures and ensure exactly-once semantics.