Amazon DynamoDB (50 Qs)•Part 3: Advanced Architecture, Scale & Internals (Senior / Lead)
How do you migrate data into DynamoDB with zero downtime?
senior LevelSystem DesignDynamoDB
In Simple Words:
- Dual-write new writes to both legacy database and DynamoDB.
- Backfill historical data using AWS Glue or AWS DMS (Database Migration Service).
- Reconcile data differences using verification jobs.
- Switch read traffic to DynamoDB.
- Deprecate legacy database writes.