当前位置:网站首页>Sidecar mode
Sidecar mode
2022-07-07 05:42:00 【From watershed to sea area】
Sidecar Pattern
Sidecar It's a design pattern , Conceptually, it refers to the implementation method of separating part of the functions of the application from the application itself as a separate process . This mode supports adding multiple functions to applications in a non intrusive way , At the same time, it also realizes the purpose of decoupling the common part of multiple applications from the self owned part of each application , Therefore, it is widely used in the field of micro Services .
As Service Mesh Important elements of ,Sidecar Patterns are highly scalable for build height 、 Scalable 、 A secure and easily monitored microservice architecture system is very important .Sidecar Patterns reduce the complexity associated with microservice architecture , And provides load balancing 、 Service registration 、 Service discovery 、 The service call 、 Traffic management 、 Application certification 、 telemetering 、 Basic functional features required by microservices such as fault injection .

Picture source : The first reference
Sidecar characteristic
- Sidecar It is a process of independent deployment
- Sidecar It reduces the coupling between the application code and the underlying code , Help heterogeneous services through sidecar Fast access to micro service system .
Sidecar Patterns reduce the code complexity of microservices by abstracting public infrastructure related functions to different layers , In high mode, there is no need to write service configuration in every micro service 、 Find out 、 Call a series of basic and public code , Achieve decoupling .
Sidecar How to work

The yellow line in the figure indicates registration , The white arrow represents the call
Suppose we have a micro service A、B、C, stay Sidecar In mode , The microservice itself will not interact with the registry ( In the picture Service Mesh Control Plane Acting as a registry , There are also other functions ) Call on request , But through sidecar Proxy registration access registry , Get service registration 、 Discovery and other functions .
sidecar As a proxy for heterogeneous services, initiate service calls

Heterogeneous services themselves do not have a direct connection to the registry , Therefore, the call of heterogeneous services also needs to go sidecar, adopt sidecar Make service discovery calls ,sidecar After receiving the request of heterogeneous services, select the target service instance through service discovery and load balancing , Forward request to target service .
reference
边栏推荐
- Paper reading [open book video captioning with retrieve copy generate network]
- Design, configuration and points for attention of network unicast (one server, multiple clients) simulation using OPNET
- “多模态”概念
- Senior programmers must know and master. This article explains in detail the principle of MySQL master-slave synchronization, and recommends collecting
- 5. 数据访问 - EntityFramework集成
- Jhok-zbl1 leakage relay
- Pinduoduo product details interface, pinduoduo product basic information, pinduoduo product attribute interface
- Go 语言的 Context 详解
- 常用消息队列有哪些?
- 论文阅读【Semantic Tag Augmented XlanV Model for Video Captioning】
猜你喜欢

Two person game based on bevy game engine and FPGA

sql查询:将下一行减去上一行,并做相应的计算

Digital innovation driven guide

CentOS 7.9 installing Oracle 21C Adventures

Distributed global ID generation scheme

京东商品详情页API接口、京东商品销量API接口、京东商品列表API接口、京东APP详情API接口、京东详情API接口,京东SKU信息接口

MySQL数据库学习(8) -- mysql 内容补充
![[论文阅读] Semi-supervised Left Atrium Segmentation with Mutual Consistency Training](/img/d6/e6db0d76e81e49a83a30f8c1832f09.png)
[论文阅读] Semi-supervised Left Atrium Segmentation with Mutual Consistency Training

Design, configuration and points for attention of network specified source multicast (SSM) simulation using OPNET
![Reading the paper [sensor enlarged egocentric video captioning with dynamic modal attention]](/img/db/feb719e2715c7b9c669957995e1d83.png)
Reading the paper [sensor enlarged egocentric video captioning with dynamic modal attention]
随机推荐
Paper reading [open book video captioning with retrieve copy generate network]
AI人脸编辑让Lena微笑
4. 对象映射 - Mapping.Mapster
[paper reading] semi supervised left atrium segmentation with mutual consistency training
Life experience of an update statement
AI face editor makes Lena smile
MySQL-CentOS7通过YUM安装MySQL
DOM node object + time node comprehensive case
5. Data access - entityframework integration
JSP setting header information export to excel
分布式事务介绍
4. Object mapping Mapster
When deleting a file, the prompt "the length of the source file name is greater than the length supported by the system" cannot be deleted. Solution
Paper reading [MM21 pre training for video understanding challenge:video captioning with pre training techniqu]
Dj-zbs2 leakage relay
Five core elements of architecture design
Nodejs get client IP
Flink SQL 实现读写redis,并动态生成Hset key
Differences and introduction of cluster, distributed and microservice
论文阅读【Open-book Video Captioning with Retrieve-Copy-Generate Network】