Managing Write Ordering Across Backfill, CDC, and Live Ingestion in a 20TB Migration
How we migrated 20TB of live DynamoDB data with zero downtime by treating it as an ordering problem: ownership, versioning, and CDC replay.
The wire material details a 20TB migration involving three pipelines writing to the same customer attributes in a data platform. The challenge was determining which write to accept. The team used a combination of backfill, CDC, and real-time ingestion to handle the migration. They captured changes before the snapshot, avoided loss by overlapping capture, used an entity-attribute-value (EAV) layout to reshape records, and employed versioning to handle races.
The key takeaways include the importance of capturing data first, handling backfill separately from CDC, and defining clear policies for handling in-flight work during handoffs between old and new systems.
Rewritten by urgent.news; may contain errors โ check the original.
Source: hackernoon.com
Read the original at hackernoon.com โ
More from HackerNoon on urgent.news
Report a problem with this story
Get the day's news by email. Daily, weekly or monthly. Sign up