当前位置:网站首页>ServiceMesh主要解决的三大痛点
ServiceMesh主要解决的三大痛点
2022-07-02 21:35:00 【51CTO】
Service Mesh是一个致力于解决服务间通信的基础设施层,其负责在现代云原生应用的复杂服务拓扑下实现请求的可靠传递,在实践中Service Mesh通常实现为一组轻量级网络代理,这些代理与应用程序部署在一起,并且对应用程序透明。
基础设施层是Service Mesh的定位,致力于解决微服务基础设施标准化、配置化、服务化和产品化问题;服务间通信是Service Mesh技术面对的问题域,对微服务屏蔽通信的复杂度,解决微服务的通信治理问题;请求的可靠传递是Service Mesh的目标;轻量级网络代理是Service Mesh的部署方式;对应用程序透明是Service Mesh的亮点和特色,Service Mesh接入对业务无侵入,可以非常方便地获取Service Mesh带来的便捷性。
Service Mesh主要解决用户如下3个维度的痛点需求。
一、完善的微服务基础设施
Service Mesh通过将微服务通信下沉到基础设施层,屏蔽了微服务处理各种通信问题的复杂度,可以看成是微服务之间的抽象协议层,抽象层面可以看成是TCP/IP协议栈的一部分。对于微服务的开发者来说,比如当前使用HTTP或者Thrift进行RPC通信时,你不需要关注TCP/IP这一层的具体实现;有了Service Mesh之后,微服务也不再需要关注RPC通信(包含服务发现、负载均衡、流量调度、限流降级、监控统计等)的一切细节,真正像本地调用一样使用微服务,通信相关的一切工作直接交给Service Mesh。因此,对于一些需要通过微服务改造提升业务敏捷性,但没有相应技术能力的中小团队来说,可以借助Service Mesh提供的完善微服务基础设施,加速微服务的落地。
二、语言无关的通信和链路治理
功能上,Service Mesh并没有提供任何新的特性和能力,Service Mesh提供的所有通信和服务治理能力在Service Mesh之前的技术中均能找到,比如Spring Cloud就实现完善的微服务RPC通信和服务治理支持。Service Mesh改变的是通信和服务治理能力提供的方式,通过将这些能力实现从各语言业务实现中解耦,下沉到基础设施层面,以一种更加通用和标准化的方式提供,屏蔽不同语言、不同平台的差异性,这样不仅有利于通信和服务治理能力的迭代和创新,业务使用的时候也会更加方便。Service Mesh避免了多语言服务治理上的重复建设,通过Service Mesh语言无关的通信和服务治理能力,助力多语言技术栈的效率提升。
三、通信和服务治理的标准化
- 微服务治理层面,Service Mesh是标准化、体系化、无侵入的分布式服务治理平台。
- 标准化方面,Sidecar成为所有微服务流量通信的约束标准,同时Service Mesh的数据平面和控制平面也通过标准协议进行交互。
- 体系化方面,从全局考虑,提供多维度立体的微服务可观测能力(Metric、Trace、Logging),并且提供体系化的服务治理能力,比如限流、熔断、安全、灰度等;最为重要的是,Service Mesh通过透明无侵入的方式提供全面的服务治理能力,对微服务本身不会带来直接影响。
通过标准化,带来一致的服务治理体验,减少多业务之间由于服务治理标准不一致带来的沟通和转换成本,提升全局服务治理的效率。
边栏推荐
- Image segmentation using pixellib
- *C language final course design * -- address book management system (complete project + source code + detailed notes)
- D4:非成对图像去雾,基于密度与深度分解的自增强方法(CVPR 2022)
- pip安装whl文件报错:ERROR: ... is not a supported wheel on this platform
- From personal heroes to versatile developers, the era of programmer 3.0 is coming
- 《Just because》阅读感受
- [zero foundation I] Navicat download link
- SQL必需掌握的100个重要知识点:使用游标
- Research Report on market supply and demand and strategy of China's Plastic Geogrid industry
- China plastic bottle and container market trend report, technological innovation and market forecast
猜你喜欢
如何防止你的 jar 被反编译?
Baidu sued a company called "Ciba screen"
Read a doctor, the kind that studies cows! Dr. enrollment of livestock technology group of Leuven University, milk quality monitoring
Pip install whl file Error: Error: … Ce n'est pas une roue supportée sur cette plateforme
Introduction to victoriametrics
D4:非成对图像去雾,基于密度与深度分解的自增强方法(CVPR 2022)
The neo4j skill tree was officially released to help you easily master the neo4j map database
Evolution of messaging and streaming systems under the native tide of open source cloud
[use of pointer and pointer and array]
Error in PIP installation WHL file: error: is not a supported wheel on this platform
随机推荐
MySQL learning record (1)
Basic knowledge of tree and binary tree (detailed illustration)
MySQL inserts Chinese data and reports an error. Set the default collation
Free open source web version of xshell [congratulations on a happy new year]
Unity3D学习笔记4——创建Mesh高级接口
图像基础概念与YUV/RGB深入理解
[shutter] shutter gesture interaction (click event handling | click OnTap | double click | long press | click Cancel | press ontapdown | lift ontapup)
Micro SD Card Industry Research Report - market status analysis and development prospect forecast
Etcd raft protocol
:last-child 不生效解决
The source code of the daily book analyzes the design idea of Flink and solves the problems in Flink
[Yu Yue education] reference materials of analog electronic technology of Nanjing Institute of information technology
基本IO接口技术——微机第七章笔记
Etcd Raft 协议
Plastic granule Industry Research Report - market status analysis and development prospect forecast
Structure array, pointer and function and application cases
About test cases
100 important knowledge points that SQL must master: management transaction processing
Cardinality sorting (detailed illustration)
MySQL learning record (2)