wittyResry / myIssue

My issue mark down^_^ 欢迎吐槽,讨论~~
https://github.com/wittyResry/myIssue/issues
The Unlicense
5 stars 1 forks source link

Service Mesh #110

Open wittyResry opened 4 years ago

wittyResry commented 4 years ago

基于服务发现的一种新方式

Service Mesh

用库的形式,在微服务应用程序中导入使用。 用节点代理或守护程序的形式,为特定节点/计算机上的所有容器提供服务。 用Sidecar容器的形式运行,和应用容器一同运行。 image

节点代理和 Sidecar 模式的 Service Mesh 架构。 https://www.servicemesher.com/blog/service-mesh-architectures/

wittyResry commented 4 years ago

mosn

MOSN 作为底层的高性能安全网络代理,支撑了 RPC、消息(Messaging)、网关(Gateway)等业务场景。 平滑迁移能力:https://mosn.io/zh/docs/concept/smooth-upgrade/ https://mosn.io/zh/docs/concept/core-concept/

wittyResry commented 4 years ago

应用

蚂蚁金服 Service Mesh 大规模落地系列 - RPC 篇:https://www.jianshu.com/p/0a1afc01a85e 蚂蚁金服 Service Mesh 大规模落地系列 - 消息篇:https://www.jianshu.com/p/773f338a8316 蚂蚁金服 Service Mesh 大规模落地系列 - 核心篇:https://www.jianshu.com/p/044dd19a40d7 蚂蚁金服 Service Mesh 大规模落地系列 - 网关篇:https://www.jianshu.com/p/4a8dd41996b6 蚂蚁金服 Service Mesh 大规模落地系列 - 运维篇:https://www.sofastack.tech/blog/service-mesh-practice-in-production-at-ant-financial-part3-operation/

wittyResry commented 4 years ago

Why?

image

wittyResry commented 4 years ago

设计

  1. 同一个Pod可以通过127.0.0.1访问,Pod之前采用内部ip的方式进行访问
  2. Pod之前采用内部ip访问
  3. 通过虚ip访问,虚ip对应了一个Pod的集群,通过service进行访问 4.通过宿主机器的端口映射,解决端口访问的问题 5.发布要原子化,路由能力。同时还有一个关键,就是上下游调用时,拿上游来说,对于不同微服务的调用,本身要采用不同线程池,防止影响。