Sentinel authorization rules and rule persistence

Hello everyone, I am Su Lin. Today I will talk about Sentinel rule persistence. Authorization rules Authorization rules can determine and control the source of the requester. Authorization rules Basic rules Authorization rules can control the source of the caller, and there are two methods: whitelist and blacklist. Whitelist: Callers whose origin is in the […]

Transform the Sentinel source code to realize Nacos two-way communication!

Author | Brother Lei Source | Java Chinese Community Author WeChat: GG_Stone By default, Sentinel Dashboard (console) can only save configuration rules to memory, which will cause the configuration rules to be lost after the Sentinel Dashboard is restarted. Therefore, we need to save the rules to some kind of data source. Sentinel supports The […]

Sentinel current limiting fuse integrates OpenFeign components

Principle address: Principle explanation address Service circuit breaker and current limiting 1. Circuit breaker downgrade Note: Hystrix and sentinel are currently popular circuit breaker degradation components. The following is a function comparison chart: Service circuit breaker steps: Sentinel’s separate circuit breaker downgrade will not be described in detail. Here is the integrated circuit breaker implementation […]

SpringCould Microservice Protection 01 – Download and use the Sentinel component

1. First introduction to Sentinel 1.1. Avalanche problems and solutions 1.1.1. Avalanche problem In microservices, the calling relationships between services are complex, and one microservice often depends on multiple other microservices. As shown in the figure, if service provider I fails, part of the current application’s business will also be blocked because it depends on […]

SpringCould microservice protection and authorization rules 03 – Isolation and degradation (FeignClient integrates Sentinel, thread isolation, circuit breaker degradation, custom exception results, rule persistence, and push mode implementation)

Directory 3. Isolation and downgrade 3.1.FeignClient integrates Sentinel 3.1.1. Modify the configuration and enable the sentinel function 3.1.2. Write failure downgrade logic 3.1.3. Summary 3.2. Thread isolation (bulkhead mode) 3.2.1. How to implement thread isolation 3.2.2. Sentinel thread isolation 1) Configure isolation rules 2) Jmeter test 3.2.3. Summary 3.3. Circuit breaker downgrade 3.3.1. Slow call […]

SpringCould microservice protection 02 – three flow control modes (direct, association, link) and four flow control effects (fast fail, Worm up, queue waiting, hotspot parameter current limiting) (Sentinel component advanced option selection + Jmeter pressure test demonstration)

Directory 2. Flow control 2.1.Cluster point link 2.1.Quick Start 2.1.1.Example 2.1.2. Exercise: 2.2.Flow control mode 2.2.1. Association mode 2.2.2.Link mode 1) Add a method to query products 2) When querying an order, query the product 3) Add an order and check the product 4) Add resource tags to the query products 5) Add flow control […]

Python batch downloads Sentinel-1 precision orbit files (.EOF)

Based on Xiaolong’s hard work on RS, we added the reading time of SLC images (readSLCFileName, which saves the operation of counting the timing of downloading sentinel images), detecting the downloaded track file size and re-downloading the wrong file (getFileSize and downloadWrongOribits) content For specific operation methods, see: https://blog.csdn.net/qq_44932630/article/details/124202144、 FBI WARNING: In this example, you […]

new ! Quickly master JDK17 + springboot3 + springcloud Alibaba: 5. Service circuit breaker downgrade Sentinel

The purpose of microservice architecture application design is to cope with high concurrency environments. So the question is, what problems will high concurrency environments bring? What preventive operations need to be considered when designing microservice architecture? 1 Problems caused by high concurrency In the microservice architecture, we split the business into individual services. Services can […]

[RuoYi-Cloud project research] [ruoyi-gateway module] Spring Gatewaye and Sentinel implement gateway flow control

Article directory 1. RuoYi implements current limit on services 2. The difference in current limit between gateway and ordinary services 2.1. There are differences in the introduced components 2.2. There are differences in configuration files 3. Precautions Remark: 1. By default, RuoYi gateway only configures “service current limiting” in the Sentinel current limiting configuration in […]

Microservices 10 – Isolation and Downgrade in Sentinel

Article directory Downgrade and Quarantine 1.Feign integrates Sentinel to complete downgrade 1.2 Summary 2. The difference between the two implementation methods of thread isolation 3. Bulkhead pattern in thread isolation 3.2 Summary 4. Circuit breaker downgrade 5. Circuit breaker strategy (based on abnormal ratio or number of exceptions) Review Our current limit -> Purpose: In […]