当前位置:网站首页>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
边栏推荐
- App clear data source code tracking
- 1.AVL树:左右旋-bite
- LabVIEW is opening a new reference, indicating that the memory is full
- 分布式事务解决方案之2PC
- CVE-2021-3156 漏洞复现笔记
- Mysql database learning (7) -- a brief introduction to pymysql
- Flinksql 读写pgsql
- Design, configuration and points for attention of network specified source multicast (SSM) simulation using OPNET
- 1. AVL tree: left-right rotation -bite
- ForkJoin最全详解(从原理设计到使用图解)
猜你喜欢
C#可空类型
[paper reading] semi supervised left atrium segmentation with mutual consistency training
Leetcode: maximum number of "balloons"
Common skills and understanding of SQL optimization
Paper reading [semantic tag enlarged xlnv model for video captioning]
Paper reading [MM21 pre training for video understanding challenge:video captioning with pre training techniqu]
《2》 Label
《5》 Table
Différenciation et introduction des services groupés, distribués et microservices
JVM (XX) -- performance monitoring and tuning (I) -- Overview
随机推荐
Taobao store release API interface (New), Taobao oauth2.0 store commodity API interface, Taobao commodity release API interface, Taobao commodity launch API interface, a complete set of launch store i
《HarmonyOS实战—入门到开发,浅析原子化服务》
Tablayout modification of customized tab title does not take effect
[reading of the paper] a multi branch hybrid transformer network for channel terminal cell segmentation
拼多多商品详情接口、拼多多商品基本信息、拼多多商品属性接口
【Shell】清理nohup.out文件
淘寶商品詳情頁API接口、淘寶商品列錶API接口,淘寶商品銷量API接口,淘寶APP詳情API接口,淘寶詳情API接口
Use Zhiyun reader to translate statistical genetics books
C nullable type
Talk about mvcc multi version concurrency controller?
Record a pressure measurement experience summary
纪念下,我从CSDN搬家到博客园啦!
[paper reading] semi supervised left atrium segmentation with mutual consistency training
Web architecture design process
Message queuing: how to ensure that messages are not lost
Life experience of an update statement
Make web content editable
Différenciation et introduction des services groupés, distribués et microservices
Introduction to distributed transactions
LabVIEW is opening a new reference, indicating that the memory is full