在Airbnb使用Impulse进行负载测试

[

[

Chenhao Yang

](https://medium.com/@chenhao.yang?source=post_page---byline--f466874d03d2---------------------------------------)

](https://medium.com/@chenhao.yang?source=post_page---byline--f466874d03d2---------------------------------------)

Comprehensive Load Testing with Load Generator, Dependency Mocker, Traffic Collector, and More

使用负载生成器、依赖模拟器、流量收集器等进行全面负载测试

Authors: Chenhao Yang, Haoyue Wang, Xiaoya Wei, Zay Guan, Yaolin Chen and Fei Yuan

作者: Chenhao Yang, Haoyue Wang, Xiaoya Wei, Zay Guan, Yaolin ChenFei Yuan

System-level load testing is crucial for reliability and efficiency. It identifies bottlenecks, evaluates capacity for peak traffic, establishes performance baselines, and detects errors. At a company of Airbnb’s size and complexity, we’ve learned that load testing needs to be robust, flexible, and decentralized. This requires the right set of tools to enable engineering teams to do self-service load tests that integrate seamlessly with CI.

系统级负载测试对可靠性和效率至关重要。它识别瓶颈,评估峰值流量的容量,建立性能基线,并检测错误。在像 Airbnb 这样规模和复杂性的公司中,我们了解到负载测试需要强大、灵活和去中心化。这需要一套合适的工具,使工程团队能够进行自助负载测试,并与 CI 无缝集成。

Impulse is one of our internal load-testing-as-a-service frameworks. It provides tools that can generate synthetic loads, mock dependencies, and collect traffic data from production environments. In this blog post, we’ll share how Impulse is architected to minimize manual effort, seamlessly integrate with our observability stack, and empower teams to proactively address potential issues.

Impulse 是我们内部的负载测试即服务框架之一。它提供了可以生成合成负载、模拟依赖关系并从生产环境中收集流量数据的工具。在这篇博客文章中,我们将分享 Impulse 的架构如何最小化手动工作,如何与我们的可观察性栈无缝集成,以及如何赋能团队主动解决潜在问题。

Architecture

架构

Impulse is a comprehensive load testing framework that allows service owners to conduct context-aware load tests, mock dependencies, and collect traffic data to ensure the system’s performance under various conditions. It includes the following components:

Impulse 是一个全面的负载测试框架,允许服务拥有者进行上下文感知的负载测试,模拟依赖关系,并收集流量数据,以确保系统在各种条件下的性能。它包括以下组件:

  1. Load generator to generate context-aware requests on the fly, for testing diffe...
开通本站会员,查看完整译文。

inicio - Wiki
Copyright © 2011-2025 iteam. Current version is 2.144.0. UTC+08:00, 2025-06-12 15:51
浙ICP备14020137号-1 $mapa de visitantes$