当前位置:网站首页>Alibaba cloud microservices (IV) service mesh overview and instance istio
Alibaba cloud microservices (IV) service mesh overview and instance istio
2022-07-06 13:09:00 【Geometer】
To mention Service Mesh I have to mention microservices , According to Wikipedia
Microservices (Microservices) Is a software architecture style , It is a small functional block focusing on a single responsibility and function (Small Building
Blocks) Based on , Using modularity to compose complex large applications , The use of each functional block has nothing to do with language
(Language-Independent/Language agnostic) Of API Sets communicate with each other
With Google three carriages BIGTABLE,Mapreduce,GFS Appearance , Knock on the door of distributed , Fusing strategy 、 Load balancing 、 The emergence of service discovery , Services have some communication semantics according to business needs , In order to avoid each service developing its own set of communication semantics , There is a micro service framework , for instance Spring Cloud Other framework , They realize the semantic functions required by the distributed system , Like service discovery , Load balancing, etc. , To some extent, the communication details are shielded , So that developers can realize the whole function with less code without considering some problems of communication .
But later , People also found that the microservice framework is not omnipotent , It mainly has the following problems :
1. Developers need to spend a lot of time learning some details of the microservice framework , Because if something goes wrong , It is difficult to troubleshoot and solve problems without understanding the framework
2. Frameworks that use microservices need to use specific languages , This is different from the original features of microservices ---- It has nothing to do with language
To solve this problem , first generation Service Mesh emerge as the times require
It abstracts the communication of distributed system into a separate layer , It is up to him to realize load balancing 、 Service discovery 、 Certificate authority 、 Surveillance tracking 、 Flow control and other functions required by distributed systems , As a proxy service equivalent to a service , Deployed with services , It completes the request between services through the communication between agents .
Pictured , The blue part is the service grid , If you only look at the blue part , It's easy to understand why it's called “Mesh” Is that right ~
later , For unified management , People have derived the second generation Service Mesh, Developed a centralized control panel , All stand-alone components update the network topology strategy and report the data through the control panel , A very classic example is Istio
Istio It consists of two parts : Control plane and data plane .
The data plane is the communication plane between businesses . If there is no service grid , The network cannot understand the traffic being sent , Nor can it be based on what type of traffic it is , Or who it comes from , To whom to make any decision .
The service grid uses agents to intercept all network traffic , Allows you to provide a wide range of application aware functions according to the configuration you set .
The agent is deployed with each service you start in the cluster , Or run with a service running on a virtual machine .
The control plane gets the configuration and service views you need , And dynamically program the proxy server , Update them as rules or environments change .
Use Istio Before 
Use Istio after :
Service Mesh Advantages and disadvantages :
advantage :
1. Shielding distributed communication complexity
2. Shielding language
3. Transparent to application layer , Don't need to care about
shortcoming :
1. The communication performance is reduced to a certain extent
2. The overall stability of the service depends on Service Mesh
边栏推荐
- Comparative analysis of the execution efficiency of MySQL 5.7 statistical table records
- Redis介绍与使用
- 异常:IOException:Stream Closed
- 记录:Navicat Premium初次无法连接数据库MySQL之解决
- Code example of MATLAB reading GNSS observation value o file
- [rtklib 2.4.3 B34] version update introduction I
- [dry goods] cycle slip detection of suggestions to improve the fixed rate of RTK ambiguity
- 记录:初次cmd启动MySQL拒接访问之解决
- 错误: 找不到符号
- 记录:动态Web项目servlet访问数据库404错误之解决
猜你喜欢
![[算法] 剑指offer2 golang 面试题13:二维子矩阵的数字之和](/img/17/e7c9bfa867030af97eb66a7932c7e3.png)
[算法] 剑指offer2 golang 面试题13:二维子矩阵的数字之和

闇の連鎖(LCA+树上差分)

Wechat applet development experience

TYUT太原理工大学2022数据库题库选择题总结

系统设计学习(三)Design Amazon‘s sales rank by category feature
![[algorithm] sword finger offer2 golang interview question 8: the shortest subarray with a sum greater than or equal to K](/img/8c/1b6ba3b1830ad28176190170c98628.png)
[algorithm] sword finger offer2 golang interview question 8: the shortest subarray with a sum greater than or equal to K

TYUT太原理工大学2022数据库大题之数据库操作

MySQL 三万字精华总结 + 面试100 问,吊打面试官绰绰有余(收藏系列

121 distributed interview questions and answers
![[algorithme] swordfinger offer2 golang question d'entrevue 2: addition binaire](/img/c2/6f6c3bd4d70252ba73addad6a3a9c1.png)
[algorithme] swordfinger offer2 golang question d'entrevue 2: addition binaire
随机推荐
系统设计学习(二)Design a key-value cache to save the results of the most recent web server queries
MySQL backup -- common errors in xtrabackup backup
On March 15, the official version of go 1.18 was released to learn about the latest features and usage
Role movement in the first person perspective
Alibaba cloud side: underlying details in concurrent scenarios - pseudo sharing
面渣逆袭:Redis连环五十二问,三万字+八十图详解。
编辑距离(多源BFS)
[algorithme] swordfinger offer2 golang question d'entrevue 2: addition binaire
Tyut Taiyuan University of technology 2022 introduction to software engineering
Wechat applet development experience
wsl常用命令
服务未正常关闭导致端口被占用
【rtklib】在rtk下使用抗差自适应卡尔曼滤波初步实践
Interview Essentials: talk about the various implementations of distributed locks!
Fgui project packaging and Publishing & importing unity & the way to display the UI
基本Dos命令
Ten minutes to thoroughly master cache breakdown, cache penetration, cache avalanche
Detailed explanation of balanced binary tree is easy to understand
KF UD decomposition pseudo code implementation advanced [2]
阿里云微服务(二) 分布式服务配置中心以及Nacos的使用场景及实现介绍