🏠 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
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.