当前位置:网站首页>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
边栏推荐
- JVM (XX) -- performance monitoring and tuning (I) -- Overview
- 消息队列:消息积压如何处理?
- Introduction to distributed transactions
- Educational Codeforces Round 22 B. The Golden Age
- Unity keeps the camera behind and above the player
- The navigation bar changes colors according to the route
- [论文阅读] A Multi-branch Hybrid Transformer Network for Corneal Endothelial Cell Segmentation
- 基于NCF的多模块协同实例
- 分布式事务解决方案之TCC
- The year of the tiger is coming. Come and make a wish. I heard that the wish will come true
猜你喜欢

How digitalization affects workflow automation
![[论文阅读] Semi-supervised Left Atrium Segmentation with Mutual Consistency Training](/img/d6/e6db0d76e81e49a83a30f8c1832f09.png)
[论文阅读] Semi-supervised Left Atrium Segmentation with Mutual Consistency Training

Differences and introduction of cluster, distributed and microservice

拼多多商品详情接口、拼多多商品基本信息、拼多多商品属性接口

Initial experience of annotation

Digital innovation driven guide

Lombok plug-in

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

Zero sequence aperture of leakage relay jolx-gs62 Φ one hundred

Leakage relay jd1-100
随机推荐
Differences and introduction of cluster, distributed and microservice
导航栏根据路由变换颜色
WEB架构设计过程
JVM (19) -- bytecode and class loading (4) -- talk about class loader again
Design, configuration and points for attention of network specified source multicast (SSM) simulation using OPNET
How does mapbox switch markup languages?
Tablayout modification of customized tab title does not take effect
Mysql database learning (7) -- a brief introduction to pymysql
Lombok插件
Leakage relay llj-100fs
async / await
nodejs获取客户端ip
JVM (XX) -- performance monitoring and tuning (I) -- Overview
消息队列:消息积压如何处理?
Reading the paper [sensor enlarged egocentric video captioning with dynamic modal attention]
架构设计的五个核心要素
Distributed global ID generation scheme
JSP setting header information export to excel
K6el-100 leakage relay
Taobao commodity details page API interface, Taobao commodity list API interface, Taobao commodity sales API interface, Taobao app details API interface, Taobao details API interface