You are viewing content from a past/completed QCon

Presentation: Building Resilience in Production Migrations

Track: Production Readiness: Building Resilient Systems

Location: Ballroom A

Duration: 1:40pm - 2:30pm

Day of week: Wednesday

Level: Intermediate - Advanced

Persona: Architect, Backend Developer, Chaos/Resiliency/SRE, Developer

Share this on:

This presentation is now available to view on InfoQ.com

Watch video with transcript

What You’ll Learn

  1. Hear about resilience,  why it is important, what Netflix Billing Infrastructure is doing to avoid taking downtime.

  2. Learn about complex migrations that took place at Netflix, at scale and how we avoided downtime, while migrating customer’s billing state.

  3. Find out about some of the tools and technologies Netflix Engineering used for these migrations.

Abstract

How do you migrate stateful systems with confidence? Especially when downtime is not an option? Netflix Billing Infrastructure needs to be up 24/7 to support 130+ million global customers. Billing services are the source of truth for a customer’s billing state which changes as customers apply gift cards, update their Method of Payment or are just charged every month. We want this experience to be seamless and accurate anytime, day or night, so our databases are constantly in action, with no possible downtime windows.   

We have succeeded in multiple major rewrites. In the first one, we migrated billions of rows from Oracle in our data center to MySQL AWS Cloud. Post that, we also rewrote Netflix Balance Service that manages gifts and promotions redeemed by customers. In the recent one, we rewrote our legacy invoice processing system and seamlessly transitioned from a MySQL solution to Cassandra. All these efforts involved different strategies that helped us achieve these with a flip of a switch and without anyone realizing that Netflix had been doing major overhauls of its Billing Infrastructure. We will share our migration stories and what helped us build resilience.

From this talk, attendees will learn:

  • Baseline Considerations to be thought through in migrations.
  • Variations and aspects of achieving zero downtime especially around state migration.
  • Tools and technologies that can be helpful.
Question: 

What's the focus of the work that you do today?

Answer: 

I lead Billing Infrastructure Engineering at Netflix. We build the infrastructure that helps Netflix collect charges from its members. Part of that is to determine who should be charged and how much through our systems. We also hold all the gift codes and balances and track them. We also support major customer workflows. Our services participate in gift redemptions, Method of payment updates, cancellation requests etc.  We also do financial reporting.

Question: 

What’s the motivation for this talk?

Answer: 

To get a bit of why resilience is important specifically for us. We believe that for systems like us, we do our best when we are not visible, when nobody notices. It's a topic very close to my heart, how to build resilient systems, how to not go down. Our infrastructure  shouldn't be the reason people cannot watch what they wanted to. The motivation of the talk is primarily to share some of the things that we have seen over the years. Since I joined Netflix we've done major overhaul and nobody has noticed that infrastructure has been shifting. These kind of  projects have a thought process which starts even before we start the project, how to manage the resiliency, not going down. We have some interesting stuff to share that other people can benefit from as well.

Question: 

What are some of the specific things that will be in this talk?

Answer: 

There are two aspects when rewriting a system. One is not taking a downtime for the deployment of your code. And second is not taking a downtime to migrate the state from one store to other store. The talk is about how do you do these steps without being noticed. And we will share the stories of how we migrated at scale, the things we did, what helped us. How did we build confidence into our migration?,. How should you think about it when you want to not really impact customers, the different aspects of that.

Question: 

What do you want someone who comes to your talks to walk away with?

Answer: 

My goal is for people to learn some of the tools and technologies that we have used, if they can find something similar in their world, and how possibly they can break down these bigger tasks into smaller buckets and be able to focus and solve it. Because every system that's running today around the world will need a rewrite at some point. I want people to walk away with confidence from our experience to solve a very common but complex problem in software. I'm hoping they'll learn some tips and tricks.

Speaker: Sangeeta Handa

Engineering Manager, Billing Infrastructure @Netflix

Sangeeta Handa leads Billing Infrastructure Engineering at Netflix. She is as much passionate about building scalable and resilient software as she is about leading highly engaged and impactful engineering teams. At Netflix, she has led many successful efforts including Netflix Billing Infrastructure migration from native data center to AWS, rewrite of multiple important services related to invoicing customers, gift card and promotions tracking for customers. Prior to Netflix, Sangeeta evangelized and led construction of Apple’s highly scalable financial reconciliation platform for mega-million transactions in credit card payments, iPhone & gift card transactions. Other than these she has also engineered many other systems, grounds up, that are still standing the test of time at Apple.

Find Sangeeta Handa at

Proposed Tracks

  • Software Defined Infrastructure: Kubernetes, Service Meshes & Beyond

    Deploying, scaling and managing your services is undifferentiated heavy lifting. Hear stories, learn techniques and dive deep into what it means to code your infrastructure.

  • Practices of DevOps & Lean Thinking

    Practical approaches using DevOps and a lean approach to delivering software.

  • Operationalizing Microservices: Design, Deliver, Operate

    What's the last mile for deploying your service? Learn techniques from the world's most innovative shops on managing and operating Microservices at scale.

  • Developer Experience: Level up your Engineering Effectiveness

    Improving the end to end developer experience - design, dev, test, deploy and operate/understand.

  • Architectures You've Always Wondered About

    Next-gen architectures from the most admired companies in software, such as Netflix, Google, Facebook, Twitter, & more

  • Machine Learning without a PhD

    AI/ML is more approachable than ever. Discover how deep learning and ML is being used in practice. Topics include: TensorFlow, TPUs, Keras, PyTorch & more. No PhD required.

  • Production Readiness: Building Resilient Systems

    Making systems resilient involves people and tech. Learn about strategies being used from chaos testing to distributed systems clustering.

  • Building Predictive Data Pipelines

    From personalized news feeds to engaging experiences that forecast demand: learn how innovators are building predictive systems in modern application development.

  • Modern Languages: The Right Language for the Job

    We're polyglot developers. Learn languages that excel at very specific tasks and remove undifferentiated heavy lifting at the language level.

  • Delivering on the Promise of Containers

    Runtime containers, libraries and services that power microservices.

  • Evolving Java & the JVM

    6 month cadence, cloud-native deployments, scale, Graal, Kotlin, and beyond. Learn how the role of Java and the JVM is evolving.

  • Trust, Safety & Security

    Privacy, confidentiality, safety and security: learning from the frontlines.

  • Beyond the Web: What’s Next for JavaScript

    JavaScript is the language of the web. Latest practices for JavaScript development in and out of the browser topics: react, serverless, npm, performance, & less traditional interfaces.

  • Modern Operating Systems

    Applied, practical & real-world deep-dive into industry adoption of OS, containers and virtualization, including Linux on.

  • Optimizing You: Human Skills for Individuals

    Better teams start with a better self. Learn practical skills for IC.

  • Modern CS in the Real World

    Thoughts pushing software forward, including consensus, CRDT's, formal methods & probabilistic programming.

  • Human Systems: Hacking the Org

    Power of leadership, Engineering Metrics and strategies for shaping the org for velocity.

  • Building High-Performing Teams

    Building, maintaining, and growing a team balanced for skills and aptitudes. Constraint theory, systems thinking, lean, hiring/firing and performance improvement