Migrating Vital Visitors At Scale with No Downtime — Half 1 | by Netflix Expertise Weblog | Might, 2023

  • Replay site visitors testing permits sandboxed testing at scale with out considerably impacting manufacturing site visitors or buyer expertise.
  • Using cloned actual site visitors, we are able to train the range of inputs from a wide selection of units and machine software software program variations in manufacturing. That is notably necessary for complicated APIs which have many excessive cardinality inputs. Replay site visitors supplies the attain and protection required to check the power of the system to deal with occasionally used enter combos and edge instances.
  • This method facilitates validation on a number of fronts. It permits us to claim useful correctness and supplies a mechanism to load take a look at the system and tune the system and scaling parameters for optimum functioning.
  • By simulating an actual manufacturing atmosphere, we are able to characterize system efficiency over an prolonged interval whereas contemplating the anticipated and surprising site visitors sample shifts. It supplies a superb learn on the provision and latency ranges below totally different manufacturing circumstances.
  • Offers a platform to make sure that related operational insights, metrics, logging, and alerting are in place earlier than migration.

Replay Answer

  1. Visitors Duplication and Correlation: The preliminary step requires the implementation of a mechanism to clone and fork manufacturing site visitors to the newly established pathway, together with a course of to file and correlate responses from the unique and various routes.
  2. Comparative Evaluation and Reporting: Following site visitors duplication and correlation, we’d like a framework to check and analyze the responses recorded from the 2 paths and get a complete report for the evaluation.
Replay Testing Framework
Machine Pushed Replay
Server Pushed Replay
Devoted Replay Service

Analyzing Replay Visitors

Evaluating Reside Visitors

Replay Visitors Evaluation

Load Testing

Stateful Methods