当前位置:网站首页>Sentinel production environment practice (I)
Sentinel production environment practice (I)
2022-07-05 21:58:00 【yanhom. lin】
One .Sentinel What is it?
According to the official documents ,Sentinel It is a distributed traffic guard . With the popularity of microservices , Large Internet systems are generally divided into many smaller ones according to their functions , Autonomous micro
service , Services work together to make the whole system work through mutual calls , Therefore, it is necessary to ensure the stability of each micro service .Sentinel Take flow as the starting point , From flow control
system , Fusing the drop , Stability of multi-dimensional protection services such as system load protection .
In short ,Sentinel It is an open source middleware to protect the stability of distributed systems from traffic . Detailed introduction
Sentinel The main features :

Sentinel The ecological system :

Sentinel The source code of is completely open source , The screenshot below is Sentinel Module structure of source code , Briefly describe the functions of the main modules
1.adapter Modules are mainly for some mainstream frameworks (dubbo,grpc,zuul etc. ) Do the adaptive packaging , Easy access
2.cluster The module deals with the functions related to cluster flow control
3.core The module is Sentinel Core module , Basically, all functions are realized here
4.dashboard Is the management console module , It's a springboot project , It is mainly responsible for the configuration of rules and the visual viewing of monitoring indicators
5.extension It's the expansion module ,sentinel It is a system that provides many extension points , We can expand our functions as needed , If mentioned
For persistence rules DataSource and ParameterFlow( Hot parameter flow control ) Expand
6.transport Mainly for dashboard and client A module of communication , Yes netty and http Two ways of implementation

Here are Sentinel Ecosystem construction and multilingual version support
Two . Open source Dashboard The problem is
Open source dashboard The function is very weak , Because all data is stored in memory , The client restart rule is lost , Monitoring data is also close 5 Minute data in
dashboard In the memory , It's OK to build and play by yourself , But it cannot be used in production environment , Want to use it on a large scale in the production environment , Need to be right dashboard Make it customized
reform , As far as my transformation process is concerned , The following points need to be completed :
1. authentication , It can be accessed inside the company sso System
2. Rule persistence ---> apollo,nacos,consul,zk,redis etc.
3. Monitoring data persistence ----> influxdb
4. Monitor the big screen ----> Develop the monitoring page and embed it into the internal system or Grafana
5. Call the police ----> collect sentinel-block.log Log realizes alarm
Yes, of course , If your company is rich , You can also use Alibaba cloud directly Sentinel Console , The function is also relatively complete , Basically, it can meet daily needs



This article mainly introduces Sentinel The main functions and Dashboard Areas for improvement , The next article mainly introduces how to realize rule persistence to Apollo.
边栏推荐
- Matlab | app designer · I used Matlab to make a real-time editor of latex formula
- 递归查询多级菜单数据
- How can Huawei online match improve the success rate of player matching
- Deeply convinced plan X - network protocol basic DNS
- Parker driver maintenance COMPAX controller maintenance cpx0200h
- Did you brush the real title of the blue bridge cup over the years? Come here and teach you to counter attack!
- ICMP introduction
- Kingbasees v8r3 cluster maintenance case -- online addition of standby database management node
- 如何组织一场实战攻防演练
- 装饰器学习01
猜你喜欢

A number of ventilator giants' products have been recalled recently, and the ventilator market is still in incremental competition

2.2 basic grammar of R language

【愚公系列】2022年7月 Go教学课程 004-Go代码注释

Daily question brushing record (XIV)

每日刷题记录 (十四)

Xlrd common operations

MMAP learning

Efficiency difference between row first and column first traversal of mat data types in opencv

DBeaver同时执行多条insert into报错处理

华为云ModelArts文本分类–外卖评论
随机推荐
Summarize the reasons for 2XX, 3xx, 4xx, 5xx status codes
Code bug correction, char is converted to int high-order symbol extension, resulting in changes in positivity and negativity and values. Int num = (int) (unsigned int) a, which will occur in older com
Reptile practice
Image editor for their AutoLayout environment
EBS Oracle 11g 克隆步骤(单节点)
Learning notes of statistical learning methods -- Chapter 1 Introduction to statistical learning methods
Incentive mechanism of Ethereum eth
2.2.3 output of documents
Simple interest mode - lazy type
华为游戏多媒体调用切换房间方法出现异常Internal system error. Reason:90000017
Zhang Lijun: penetrating uncertainty depends on four "invariants"
The American Championship is about to start. Are you ready?
CRM creates its own custom report based on fetch
HYSBZ 2243 染色 (树链拆分)
kingbaseES V8R3数据安全案例之---审计记录清除案例
regular expression
MySQL连接断开报错MySQLdb._exceptions.OperationalError 4031, The client was disconnected by the server
Feng Tang's "spring breeze is not as good as you" digital collection, logged into xirang on July 8!
Xlrd common operations
Exercise 1 simple training of R language drawing