衡量Airbnb的网络性能

Learn what web performance metrics Airbnb tracks, how we measure them, and how we consider tradeoffs between them in practice.

了解Airbnb追踪哪些网络性能指标,我们如何测量它们,以及我们在实践中如何考虑它们之间的权衡。

Josh Nelson

Josh Nelson

How long did it take for this web page to load? It’s a common question industrywide, but is it the right one? Recently, there has been a shift from using single seconds-based metrics like “page load”, to metrics that paint a more holistic picture of performance, representing the experience from a website user’s perspective. At Airbnb, measuring the web performance that our guests and hosts actually experience is critical. Previously, we described how Airbnb created a Page Performance Score to combine multiple metrics from real users into a single score. In this blog post, we describe the metrics that we consider important on our website and how they relate to industry standards. We also discuss some case studies that moved these metrics, and how they impacted the experience of website visitors.

这个网页加载需要多长时间?这是一个全行业共同的问题,但它是正确的吗?最近,人们已经从使用单一的以秒为单位的指标,如 "页面加载",转变为从网站用户的角度来描绘更全面的性能,代表体验的指标。在Airbnb,测量我们的客人和房东实际体验的网络性能是至关重要的。之前,我们描述了Airbnb是如何创建一个网页性能得分,将来自真实用户的多个指标合并为一个单一的分数。在这篇博文中,我们描述了我们认为在网站上重要的指标,以及它们与行业标准的关系。我们还讨论了一些调动这些指标的案例研究,以及它们是如何影响网站访问者的体验的。

Web Performance Metrics

网络性能指标

There are five key performance metrics that we measure on our website. We chose these metrics because they represent performance as our users experience it, and because their definitions are simple, interpretable, and performant to compute.

在我们的网站上,有五个关键的性能指标是我们衡量的。我们选择这些指标是因为它们代表了我们的用户所体验到的性能,而且它们的定义很简单,可以解释,并且可以进行计算

We record these metrics both for direct requests to the site, as well as for client side transition requests between pages (Airbnb uses a single page app architecture). We will give an overview of these metrics, how we instrument them, and their relative weightings in our overall Page Performance Score.

我们既记录了对网站的直接请求,也记录了页面之间的客户端转换请求(Airbnb使用的是单页应用架构)。我们将概述这些指标,我们如何对它们进行测量,以及它们在我们的整体页面性能得分中的相对权重。

Time To First Contentful Paint

是时候...

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

首页 - Wiki
Copyright © 2011-2024 iteam. Current version is 2.137.1. UTC+08:00, 2024-11-22 14:50
浙ICP备14020137号-1 $访客地图$