知识卡片

普通读书笔记卡 · 4587

原生与WASM过滤器取舍

理解等级:高级

原生过滤器编入代理程序,可减少运行时扩展开销,却需要维护定制版本;WASM 过滤器便于动态装载和更新,但可能增加处理成本。应按迭代频率、性能预算和维护责任比较。

这张卡片看不懂?

已有反馈 · 0 / 10 条

    还没有人提交反馈。

    在整书笔记中的位置

    原书出处 · 1 处

    • 定制与集成 · 查看原书依据

      Envoy provides the ability to integrate additional filters in one of two ways: Natively, by incorporating your custom filter into Envoy’s C++ source code and compiling a new Envoy version. The drawback is that you need to maintain your own version of Envoy, while the benefit is that your custom filter runs at native speed. Via WASM, by incorporating your custom filter as a WebAssembly binary writing in C++, Rust,

    参考来源

    - 位置:《The Enterprise Path to Service Mesh Architectures, 2nd Edition》第04章《定制与集成》(来源项目book-sources;源文件:extracted/The Enterprise Path to Service Mesh Architectures, 2nd Edition/_epub-src/OEBPS/ch04.xhtml) - 结论依据:原文在此说明该机制、范围或取舍;本卡保留其历史语境,不将预测、产品状态或命令作为当前已核验事实。 - 原始内容:Envoy provides the ability to integrate additional filters in one of two ways: Natively, by incorporating your custom filter into Envoy’s C++ source code and compiling a new Envoy version. The drawback is that you need to maintain your own version of Envoy, while the benefit is that your custom filter runs at native speed. Via WASM, by incorporating your custom filter as a WebAssembly binary writing in C++, Rust,