Skill 3.2.1
Decoupling workloads so that components can scale independently
Key Concepts
Put an SQS queue between producers (web tier) and consumers (workers). The web tier responds quickly and the worker Auto Scaling group or Lambda function scales on queue depth. If workers fail, messages wait in the queue instead of being lost.
Use SNS or EventBridge to fan events out to independent consumers, Kinesis Data Streams for high-volume ordered streams, and Step Functions to coordinate steps that run on different compute services.
Separate the read and write paths (read replicas, caches), split monoliths into services with their own scaling policies, and keep components stateless so any instance can handle any request.