美文网首页
Service Mesh

Service Mesh

作者: Wu杰语 | 来源:发表于2021-07-01 20:39 被阅读0次

什么是Service Mesh

https://buoyant.io/what-is-a-service-mesh/
A service mesh is a dedicated infrastructure layer for handling service-to-service communication. It’s responsible for the reliable delivery of requests through the complex topology of services that comprise a modern, cloud native application. In practice, the service mesh is typically implemented as an array of lightweight network proxies that are deployed alongside application code, without the application needing to be aware.

service mesh是一个传递请求的基础设施,是轻量级的网络代理集合(sidecar)集合,让应用无感知。

Service Mesh的历史

http://philcalcado.com/2017/08/03/pattern_service_mesh.html
这篇2017年的文章介绍了service-mesh的历史,大概如下图所示:

service mesh演化历史

其中service mesh2增加了控制平面。

Service mesh的主要功能

  • 流量控制:路由、流量转移、超时重试、熔断、故障重试、流量镜像
  • 策略:限流,黑白名单
  • 安全:授权与身份认证
  • 可观察性:指标、日志、追踪

Service mesh与k8s的关系

ralation

k8s是调度层,service mesh是加强版的网络层。

当前的service mesh产品

cncf
  • istio,是目前主流的开源产品
  • likerd
  • kuma,kong发布的service mesh控制平面产品
  • SOFAMesh,阿里巴巴的service mesh产品
  • AWS App Mesh, 亚马逊的service mesh产品
  • Traffic Director, google的service mesh控制平面产品
  • 华为云servicemesh

小结

service mesh从2017年产品正式爆发,到开源和商业service mesh产品层出不穷,说明service mesh正在走向成熟的过程。对于新一代的微服务我们需要了解其相关生态、产品并学习相关技术。

相关文章

网友评论

      本文标题:Service Mesh

      本文链接:https://www.haomeiwen.com/subject/hkgjultx.html