Skill 2.5.1

Designing large-scale application architectures for a variety of access patterns

Key Concepts

Read-heavy: CloudFront, ElastiCache, DAX, read replicas. Write-heavy: DynamoDB with well-distributed partition keys, Kinesis shards, SQS buffering, write sharding. Global: edge caching, regional stacks with global data stores. Spiky: serverless and queues.

Design data models around queries (DynamoDB single-table design, GSIs), separate OLTP from analytics (zero-ETL to Redshift, data lakes), and use CQRS where reads and writes scale differently.