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

Slides: Download Slides

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

2020 Tracks

  • Social Responsibility: Implications of Building Modern Software

    Software has an ever increasing impact on individuals and society. Understanding these implications helps build software that works for all users

  • Non-Technical Skills for Technical Folks

    To be an effective engineer, requires more than great coding skills. Learn the subtle arts of the tech lead, including empathy, communication, and organization.

  • Clientside: From WASM to Browser Applications

    Dive into some of the technologies that can be leveraged to ultimately deliver a more impactful interaction between the user and client.

  • Languages of Infra

    More than just Infrastructure as a Service, today we have librarys, languages, and platforms that help us define our infra. Languages of Infra explore languages and libraries being used today to build modern cloud native architectures.

  • Mechanical Sympathy: The Software/Hardware Divide

    Understanding the Hardware Makes You a Better Developer

  • Paths to Production: Deployments You've Always Wondered About

    Deployment pipelines allow us to push to production at ever increasing volume. Paths to production looks at how some of software's most well known shops continuous deliver code.

  • Java, The Platform

    Mobile, Micro, Modular: The platform continues to evolve and change. Discover how the platform continues to drive us forward.

  • Security for Engineers

    How to build secure, yet usable, systems from the engineer's perspective.

  • Modern Data Engineering

    The innovations necessary to build towards a fully automated decentralized data warehouse.

  • Machine Learning for the Software Engineer

    AI and machine learning is more approachable than ever. Discover how ML, deep learning, and other modern approaches are being used in practice by Software Engineers.

  • Inclusion & Diversity in Tech

    The road map to a inclusive and diverse tech organization. *Diversity & Inclusion defined as the inclusion of all individuals in an within tech, regardless of gender, religion, ethnicity, race, age, sexual orientation, and physical or mental fitness.

  • Architectures You've Always Wondered About

    How do they do it? In QCon's marquee Architectures track, we learn what it takes to operate at large scale from well-known names in our industry. You will take away hard-earned architectural lessons on scalability, reliability, throughput, and performance.

  • Architecting for Confidence: Building Resilant Systems

    Your system will fail. Build systems with the confidence to know when they do, you won't.

  • Remotely Productive: Remote Teams & Software

    More and more companies are moving to remote work. How do you build, work on, and lead teams remotely?

  • Operating Microservices

    Building and operating distributed systems is hard, and microservices are no different. Learn strategies for not just building a service but operating them at scale.

  • Distributed Systems for Developers

    Computer science in practice. An applied track that fuses together the human side of computer science with the technical choices that are made along the way

  • The Future of the API: REST, gRPC, GraphQL and More

    Web-based API continue to evolve. The track provides the what, how, and why of future APIs, including GraphQL, Backend for Frontend, gRPC, & ReST

  • Resurgence of Functional Programming

    What was once a paradigm shift in how we thought of programming languages is now main stream in nearly all modern languages. Hear how software shops are infusing concepts like pure functions and immutablity into their architectures and design choices.