advanced
Distributed System Design Strategy
Design a comprehensive microservices architecture for a high-frequency trading platform handling split-second data consistency.
📝 Contenu du Prompt
Act as a senior Solutions Architect. Design a microservices architecture for a global high-frequency trading platform capable of handling 100,000 transactions per second with sub-millisecond latency. Your design must address the following specific constraints: data consistency across geographically distributed regions (CAP theorem trade-offs), fault tolerance and redundancy, message queuing for order processing, and strategies to prevent race conditions in the order matching engine. Provide a detailed text-based breakdown of the service components, the communication protocols used (e.g., gRPC, Kafka), and the database sharding strategy.