阅读次数。服务健康指标

As you scale your company’s software footprint, with Service-Oriented Architecture (SOA) or microservices architecture featuring 100s or 1000s of services or more, how do you keep track of the performance of every service in every region? How will you know whether you are tracking every service? Of course every service is different, but how do you view health through a single lens? We faced these challenges at Salesforce. Looking at best practices both inside and outside of Salesforce, we developed a framework that prescribes the minimal set of indicators that every service needs to discern its health and performance using a common language at operational and executive levels. The minimal set we outline in this blog post follows two well-known frameworks: the RED pattern and the USE method. Each service will (and should) have its additional specific indicators to further understand its performance and debug production issues.

当你扩大公司的软件规模,采用面向服务的架构(SOA)或具有100多个或1000多个服务的微服务架构时,你如何跟踪每个地区的每个服务的性能?你怎么知道你是否在跟踪每个服务?当然,每个服务都是不同的,但你如何通过一个单一的镜头来看待健康?我们在Salesforce面临这些挑战。通过研究Salesforce内部和外部的最佳实践,我们开发了一个框架,规定了每项服务需要的最低限度的指标集,以便在运营和执行层面使用共同语言来辨别其健康和绩效。我们在这篇博文中概述的最小指标集遵循两个著名的框架:RED模式USE方法。每个服务将(而且应该)有其额外的特定指标,以进一步了解其性能和调试生产问题。

Health Indicators

健康指标

The handy acronym READS describes the minimal set of indicators for every service: Request rate, errors, availability, duration/latency, and saturation. Every service owner is responsible for generating the right metrics to allow these indicators to be calculated or derived.

方便的缩写READS描述了每个服务的最小指标集。请求率、错误、可用性、持续时间/延时和饱和度。每个服务所有者都有责任产生正确的指标,以便计算或得出这些指标。

Let’s take a closer look at each of these important indicators.

让我们仔细看看这些重要指标中的每一个。

_R_equest Rate (Requests per minute)

呼叫率(每分钟的请求)。

This measures the number of requests that the service is processing per minute. Along with volume, this is a measure of utilization of the service and can indicate whether the service is reaching a threshold of the number of requests it can service with reasonable latency. While measuring this, we sho...

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

首页 - Wiki
Copyright © 2011-2024 iteam. Current version is 2.124.0. UTC+08:00, 2024-05-02 08:32
浙ICP备14020137号-1 $访客地图$