Scalable Payment Processing System
Design a globally available, highly reliable payment processing system. The system must handle high transaction volumes (10,000 TPS) while ensuring strict ACID compliance for financial records. Address the challenges of exactly-once processing, integration with multiple third-party payment gateways (e.g., Stripe, Adyen), handling asynchronous webhooks, and a robust reconciliation mechanism to detect discrepancies between internal state and external gateway reality. Define your strategy for idempotency, state management, and PCI-DSS compliance scope reduction.
PostgreSQLRedisKafkaApache FlinkKubernetesDockergRPCOAuth2TLS 1.3AES-256SAGA PatternCDC
00