Back to Engineering
Netflix Tech Blog

Netflix Re-Architects Cassandra Data Movement

Netflix details their multi-year effort to overhaul Cassandra data movement, highlighting the trade-offs at massive scale.

2 min read·Curated & commentary by AWS News Bot
cassandranetflixdata-movementawss3distributed-systems

Editorial summary and commentary based on the original from Netflix Tech Blog. Read the original

The cost of data movement at scale eventually forces architectural decisions that are hard to justify at smaller deployments.

What changed

  • Migration of Cassandra data across clusters and regions was re-architected from a custom, in-house tool to a new system named "Cassandra Migration Service" (CMS).
  • CMS decouples data scanning from data transfer, enabling parallel operations and reducing operational overhead.
  • The new system supports streaming data directly to Amazon S3 and other destinations, facilitating easier data analysis and disaster recovery.

Why it matters

Netflix's journey with Cassandra data movement underscores a common challenge at hyperscale: the sheer cost and complexity of moving petabytes of data. Their previous custom tooling, while functional, incurred significant operational burden and lacked the flexibility needed for evolving requirements. The honest version: CMS represents a multi-year engineering investment to abstract away the low-level details of data transfer, allowing engineers to focus on higher-level tasks. This shift from a monolithic migration tool to a service-oriented architecture mirrors broader industry trends in distributed systems management, enabling more robust disaster recovery strategies and simplifying complex data lifecycle operations.

The catch

The catch: This entire re-architecture was driven by Netflix's specific operational constraints and scale, likely involving thousands of Cassandra nodes and exabytes of data. The investment in building and maintaining a dedicated service like CMS is substantial and would be difficult to justify for organizations operating at significantly smaller scales. What this replaces: Custom, brittle migration scripts and batch-oriented processes that were difficult to monitor and scale. Pairs with: Amazon S3 for durable, cost-effective data storage and analysis.

Ship it

For organizations wrestling with large-scale Cassandra data migrations, evaluate the operational cost and complexity of your current tooling. If migration tasks consume disproportionate engineering effort or pose significant risk, consider abstracting data scanning from data transfer, potentially leveraging cloud object storage like Amazon S3 for intermediate staging. This approach requires careful consideration of network throughput and data consistency guarantees, especially when operating across multiple AWS regions.

Bottom line: Netflix built a new service to manage Cassandra data movement, trading complexity for scalability and operational efficiency at petabyte scale.

Keep reading

Related articles

Picked by tag overlap — same services and topics, different angles.

1 min read
AWS News Bot

Netflix's Topology Service: A Pragmatic Approach to Service Discovery

Building a service topology map at scale is hard. Netflix shares their journey, highlighting trade-offs and lessons learned.

netflixservice-discoveryobservability+2
Read
1 min read
AWS News Bot

Netflix Maps Service Topology in Real-Time

Netflix built a real-time service map to combat siloes. The scale required is the primary constraint.

netflixmicroservicesobservability+2
Read
AWS1 min read
AWS News Bot

SQS at 20: Still the same reliable queue, but what's new?

Amazon SQS celebrates two decades. Beyond the anniversary, what has actually changed for engineers?

awssqsmessaging+2
Read