知识卡片
负载与压力测试回答不同问题
负载测试验证预期峰值下能否服务;压力测试越过上限,寻找并发竞态、内存泄漏、容量瓶颈与退化方式。测试目标应对应具体容量假设。
这张卡片看不懂?
这张卡片的反馈已满 10 条,暂时无法继续提交。
已有反馈 · 0 / 10 条
还没有人提交反馈。
原书出处
参考来源
- 位置:《Principles of Software Architecture Modernization》第7章《Proper Service Testing》(源文件:`_epub-src/OPS/ch07.xhtml`,归一化正文 [37732:41945))
- 结论依据:原文明确区分预期峰值负载和超过上限的压力,并列出可发现的故障类型。
- 原始内容:Load testing proves the system can handle the expected peak volume, whereas stress testing goes beyond the upper limit of what the service or system can handle. Many companies ignore stress/load testing because they don’t think they need Silicon Valley scale. Beyond scale, stress and load testing can uncover hidden bugs around concurrency and resource utilization.