Envoy原理介绍及线上问题踩坑Copyright © Huawei Technologies Co., Ltd. All rights reserved. Page 9 Envoy启动配置及xDS listener router upstream pool Envoy cluster istiod pilot-agent LDS RDS CDS EDS tls证书 管理 SDS CSR创建证书 stat 监听过滤器(Network::ListenerFilter) • onAccept接收新连接,判断协议类型,TLS握手,HTTP协议自动识别、提取连接地址信息 • L4 网络过滤器 • HTTP、Mysql、Dubbo协议处理、元数据交换,四层限流,开发调试支持等。 • onNewConnection新连接建立,可以决定是否拒绝 • onData处理连接数据到达 • onWrite处理连接数据发送 http.wasm L7 HTTP过滤器 基于WASM(WebAssembly)技术,支持沙箱、热升级、 跨语言的扩展机制,处理L7层HTTP请求编解码。 envoy.filters.http.router L7 HTTP过滤器 HTTP路由及负载均衡的入口点,作为L7层过滤器链中 最后一个过滤器。 监听过滤器 L4网络过滤器 L7 HTTP过滤器 L4网络过滤器 上游连接池 监听 下游连接0 码力 | 30 页 | 2.67 MB | 1 年前3
 全栈服务网格 - Aeraki 助你在
Istio 服务网格中管理任何七层流量Proprietary RPC Protocol … ● Messaging: Kafka, RabbitMQ … ● Cache: Redis, Memcached ... ● Database: mySQL, PostgreSQL, MongoDB ... ● Other Layer-7 Protocols: ... Control Plane (Traffic Management, Security 请求,填充 Metadata 2. L7 filter 从 Metadata 获取所需的数据,进行请求方向的业务处理 3. L7 filter 将需要修改的数据放入 Mutation 结构中 4. Router 根据 RDS 配置的路由规则选择 Upstream Cluster 5. Encoder 根据 Mutation 结构封包 6. 将请求发送给 Upstream L7 filter 共享数据结构: encode 时修改请求数据包 #IstioCon MetaProtocol: 响应处理路径 处理流程: 1. Decoder 解析 Upstream 的响应,填充 Metadata 2. Router 根据 connection/stream 对应关系找到响应的 Downstream 连接 3. L7 filter 从 Metadata 获取所需的数据,进行响应方向的业务处理 4. L70 码力 | 29 页 | 2.11 MB | 1 年前3
 Developing & Debugging WebAssembly FiltersC++ Asyc Build: need to recompile and maintain a build of Envoy EXTERNAL AUTH RATE LIMITING ROUTER UPSTREAM CUSTOM gRPC TRANSCODER Build Custom Envoy Filter 6 | Copyright © 2020 Portable Sustainable: Eliminates need to recompile and maintain a build of Envoy EXTERNAL AUTH RATE LIMITING ROUTER UPSTREAM WASM gRPC TRANSCODER Why WebAssembly? 8 | Copyright © 2020 8 | Copyright © 2020 mgmt-cluster --labels app=ratings Extension Config Discovery Service EXTERNAL AUTH RATE LIMITING ROUTER UPSTREAM WASM gRPC TRANSCODER ECDS 16 | Copyright © 2020 Build Store Deploy Debug meshctl0 码力 | 22 页 | 2.22 MB | 1 年前3
 Extending service mesh capabilities using a streamlined way based on WASM and ORASlocalhost:15000/config_dump envoy.filters .http.cors envoy.filters .http.fault envoy.filters .http.router envoy.filters.ht tp.wasm/envo y.wasm.stats envoy.filters.ht tp.wasm/xxx- wasmfilter 5 添加新Filter的方式0 码力 | 23 页 | 2.67 MB | 1 年前3
 Istio Security Assessmentout) return end request_handle:respond({ [":status"] = "200", }, "TEST\n") end - name: envoy.router config: { suppress_envoy_headers: true } --- apiVersion: v1 kind: ServiceAccount metadata: name:0 码力 | 51 页 | 849.66 KB | 1 年前3
 Istio at Scale: How eBay is building a massive Multitenant Service Mesh using IstioMicroservices ranging from ○ API services, Search Engine, etc. ○ Databases, Key-Value stores - Oracle, MySQL, etc. ○ Big data systems & Pipelines - Hadoop, Apache Spark, Apache Flink, etc. ○ Machine Learning0 码力 | 22 页 | 505.96 KB | 1 年前3
  Is Your Virtual Machine Really Ready-to-go with Istio?the mesh ● Traffic flow (Container -> VM) 1. Manual registration istioctl -n onprem register mysql 1.2.3.4 3306 #IstioCon V1.1 Introducing Service Entry Service Entry v.s. Service v.s. Endpoints0 码力 | 50 页 | 2.19 MB | 1 年前3
 13 Istio 流量管理原理与协议扩展 赵化冰routing [Todo] Rate limit [Todo] RDS 需数据面配合 Redis [Todo] Sharding [Todo] Traffic mirroring [Todo] MySql [Todo] MongoDB [Todo] Postgres [Todo] RocketMQ [Todo] ZooKeeper 16 THANK YOU! 感谢聆听!0 码力 | 20 页 | 11.31 MB | 6 月前3
共 8 条
- 1
 













