当前位置:网站首页>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
边栏推荐
- 微信小程序蓝牙连接硬件设备并进行通讯,小程序蓝牙因距离异常断开自动重连,js实现crc校验位
- Message queue: how to deal with message backlog?
- async / await
- English grammar_ Noun possessive
- 《2022中国低/无代码市场研究及选型评估报告》发布
- 说一说MVCC多版本并发控制器?
- Jhok-zbg2 leakage relay
- [论文阅读] Semi-supervised Left Atrium Segmentation with Mutual Consistency Training
- Use Zhiyun reader to translate statistical genetics books
- [binary tree] binary tree path finding
猜你喜欢
判断文件是否为DICOM文件
什么是依赖注入(DI)
sql查询:将下一行减去上一行,并做相应的计算
Paper reading [semantic tag enlarged xlnv model for video captioning]
消息队列:消息积压如何处理?
Realize GDB remote debugging function between different network segments
JD commodity details page API interface, JD commodity sales API interface, JD commodity list API interface, JD app details API interface, JD details API interface, JD SKU information interface
导航栏根据路由变换颜色
论文阅读【MM21 Pre-training for Video Understanding Challenge:Video Captioning with Pretraining Techniqu】
Make web content editable
随机推荐
How digitalization affects workflow automation
Use, configuration and points for attention of network layer protocol (taking QoS as an example) when using OPNET for network simulation
[论文阅读] Semi-supervised Left Atrium Segmentation with Mutual Consistency Training
win配置pm2开机自启node项目
分布式全局ID生成方案
CentOS 7.9 installing Oracle 21C Adventures
Digital innovation driven guide
C#可空类型
Mapbox Chinese map address
不同网段之间实现GDB远程调试功能
English grammar_ Noun possessive
ForkJoin最全详解(从原理设计到使用图解)
Unity让摄像机一直跟随在玩家后上方
Record a pressure measurement experience summary
架构设计的五个核心要素
[PM products] what is cognitive load? How to adjust cognitive load reasonably?
[论文阅读] A Multi-branch Hybrid Transformer Network for Corneal Endothelial Cell Segmentation
论文阅读【MM21 Pre-training for Video Understanding Challenge:Video Captioning with Pretraining Techniqu】
Life experience of an update statement
什么是消息队列?