标题 在Netflix规模下启动可观察性

By: Varun Khaitan

作者: Varun Khaitan

With special thanks to my stunning colleagues: Mallika Rao, Esmir Mesic, Hugo Marques

特别感谢我出色的同事:Mallika RaoEsmir MesicHugo Marques

This blog post is a continuation of Part 2, where we cleared the ambiguity around title launch observability at Netflix. In this installment, we will explore the strategies, tools, and methodologies that were employed to achieve comprehensive title observability at scale.

这篇博客文章是第二部分的延续,在那里我们澄清了关于Netflix标题发布可观察性的模糊性。在这一部分中,我们将探讨为实现大规模的全面标题可观察性而采用的策略、工具和方法论。

Defining the observability endpoint

定义可观察性端点

To create a comprehensive solution, we decided to introduce observability endpoints first. Each microservice involved in our Personalization stack that integrated with our observability solution had to introduce a new “Title Health” endpoint. Our goal was for each new endpoint to adhere to a few principles:

为了创建一个全面的解决方案,我们决定首先引入可观察性端点。每个参与我们个性化堆栈并与我们的可观察性解决方案集成的微服务都必须引入一个新的“标题健康”端点。我们的目标是让每个新端点遵循几个原则:

  1. Accurate reflection of production behavior
  2. 准确反映生产行为
  3. Standardization across all endpoints
  4. 所有端点的标准化
  5. Answering the Insight Triad: “Healthy” or not, why not and how to fix it.
  6. 回答洞察三元组:“健康”与否,为什么不健康以及如何修复。

Accurately Reflecting Production Behavior

准确反映生产行为

A key part of our solution is insights into production behavior, which necessitates our requests to the endpoint result in traffic to the real service functions that mimics the same pathways the traffic would take if it came from the usual callers.

我们解决方案的一个关键部分是对生产行为的洞察,这要求我们对端点的请求导致流量到真实服务功能,这些功能模拟了流量如果来自于通常的调用者将采取的相同路径。

In order to allow for this mimicking, many systems implement an “event” handling, where they convert our request into a call to the real service with properties enabled to log when titles are filtered out of their response and why. Building services that adhere to software best practices, such as Object-Oriented Programming (OOP), the SOLID principles, and modularization, is crucial to have success at this stage. Without these practices, service endpoints may become tightly coupled to busin...

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

首页 - Wiki
Copyright © 2011-2025 iteam. Current version is 2.143.0. UTC+08:00, 2025-04-16 14:50
浙ICP备14020137号-1 $访客地图$