知识卡片
回放真实流量前处理敏感数据
录制请求供后续负载、回归或故障测试时,要保留必要协议字段,同时核查身份信息和敏感载荷;在非生产或暗池回放前完成匿名化和权限控制。
这张卡片看不懂?
这张卡片的反馈已满 10 条,暂时无法继续提交。
已有反馈 · 0 / 10 条
还没有人提交反馈。
原书出处
参考来源
- 位置:《Principles of Software Architecture Modernization》第7章《Proper Service Testing》(源文件:`_epub-src/OPS/ch07.xhtml`,归一化正文 [54517:58499))
- 结论依据:原文介绍请求回放,随后提醒真实生产数据需要妥善匿名化。
- 原始内容:But remember this is real production data: are you performing the proper anonymization to ensure you can safely replay production data against non-production or the dark pool? Figure 7.16: Replay traffic pattern Chaos Testing Chaos testing or chaos engineering is a form of testing in production, and it sounds scarier than it actually is.