About This Architecture
Event-driven ticket sales platform on AWS combining synchronous API services with asynchronous worker processing through SQS and Lambda. User requests flow through WAF and ALB to API Gateway, routing to PHP Sales Service and Python Catalog Service running on EC2, with RDS databases and ElastiCache for performance. Sales transactions trigger SQS messages consumed by Lambda/ECS workers, with dead-letter queue protection and CloudWatch monitoring across five isolated subnets. This architecture decouples payment processing and inventory updates from user-facing APIs, improving responsiveness and fault tolerance. Fork this diagram on Diagrams.so to customize instance types, add auto-scaling policies, or integrate additional event sources like EventBridge.