Supplement · AWS

Data, storage, database và consistency

Bắt đầu từ access pattern, consistency, durability, recovery và throughput; không chọn database theo danh sách feature.

Storage

Database

RDS Multi-AZ nhắm availability, read replica nhắm read scaling/DR tùy engine. Aurora tách compute/storage và có replica/failover semantics riêng. DynamoDB partition key quyết định distribution; hot partition không được chữa chỉ bằng tăng table capacity. Eventual consistency yêu cầu UX/reconciliation rõ. ElastiCache giảm latency/load nhưng cần invalidation, TTL, stampede và fail-open/closed policy.

Data contract: RPO/RTO, consistency per operation, encryption/key owner, retention/deletion, peak throughput, restore rehearsal và schema compatibility.

Nguồn chính thức

← Chương 05Chương 07 →