返回主题:可观测性工程化

知识卡片

普通读书笔记卡 · 3429

迁移前后都要建立性能基线

理解等级:中级

迁移前记录功能、错误率和性能基线;迁移中与迁移后分别做应用黑盒负载及数据库白盒查询检查。功能测试通过仍可能因索引或访问模式变化造成性能退化。

这张卡片看不懂?

已有反馈 · 0 条

    还没有人提交反馈。

    原书出处

    参考来源

    - 位置:《Principles of Software Architecture Modernization》第10章《Data Migrations》(源文件:`_epub-src/OPS/ch10.xhtml`,归一化正文 [42127:46385)) - 结论依据:原文要求迁移前后性能测试,并区分应用负载和数据库执行计划等视角。 - 原始内容:Conduct a baseline performance test before the migration starts, and another one after you finish to validate the migration. For lazy migration or dual write scenarios, it might be a good idea to run a test during the migration itself. Performance testing is important because perhaps all your functional tests pass, but a missing index or badly engineered function means poor performance under load and possible customer impact.