Temporal 如何为 Netflix 提供可靠的云运维

By Jacob Meyers and Rob Zienert

作者:Jacob MeyersRob Zienert

Temporal is a Durable Execution platform which allows you to write code “as if failures don’t exist”. It’s become increasingly critical to Netflix since its initial adoption in 2021, with users ranging from the operators of our Open Connect global CDN to our Live reliability teams now depending on Temporal to operate their business-critical services. In this post, I’ll give a high-level overview of what Temporal offers users, the problems we were experiencing operating Spinnaker that motivated its initial adoption at Netflix, and how Temporal helped us reduce the number of transient deployment failures at Netflix from 4% to 0.0001%.

Temporal 是一个 Durable Execution 平台,它允许你编写代码“仿佛失败不存在”。自 2021 年在 Netflix 首次采用以来,它对 Netflix 越来越关键,用户范围从我们 Open Connect 全球 CDN 的运营商到我们的 Live 可靠性团队,现在都依赖 Temporal 来运营其业务关键服务。在本文中,我将高层次概述 Temporal 为用户提供什么,我们在运营 Spinnaker 时遇到的问题,这些问题促使其在 Netflix 的首次采用,以及 Temporal 如何帮助我们将 Netflix 的瞬态部署失败数量从 4% 到 0.0001% 降低。

A Crash Course on (some of) Spinnaker

Spinnaker 简要教程(部分)

Spinnaker is a multi-cloud continuous delivery platform that powers the vast majority of Netflix’s software deployments. It’s composed of several (mostly nautical themed) microservices. Let’s double-click on two in particular to understand the problems we were facing that led us to adopting Temporal.

Spinnaker 是一个多云持续交付平台,它驱动了 Netflix 绝大多数软件部署。它由几个(大多以航海为主题的)微服务组成。让我们特别深入了解其中两个,以理解我们面临的问题,这些问题促使我们采用 Temporal。

In case you’re completely new to Spinnaker, Spinnaker’s fundamental tool for deployments is the Pipeline. A Pipeline is composed of a sequence of steps called Stages, which themselves can be decomposed into one or more Tasks, or other Stages. An example deployment pipeline for a production service may consist of these stages: Find Image -> Run Smoke Tests -> Run Canary -> Deploy to us-east-2 -> Wait -> Deploy to us-east-1.

如果你对 Spinnaker 完全陌生,Spinnaker 的部署基本工具是 Pipeline。Pipeline 由一系列称为 Stages 的步骤组成,这些步骤本身可以分解为一个或多个 Tasks,或其他 Stages。一个生产服务的示例部署 pipeline 可能包括这些 stages:Fin...

开通本站会员,查看完整译文。

Accueil - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.0. UTC+08:00, 2026-03-25 14:56
浙ICP备14020137号-1 $Carte des visiteurs$