The Question
Design
Scalable Payment Processing System Design
Design a globally scalable, PCI-compliant payment gateway infrastructure capable of handling thousands of transactions per second. The system must guarantee idempotency, ensure financial integrity through double-entry bookkeeping, and manage asynchronous communications with multiple third-party Payment Service Providers (PSPs).
PostgreSQL
Redis
Kafka
PCI-DSS
ACID
mTLS
JWT
AWS RDS
EKS
March 20, 2026