Sentinel integrates Nacos to realize dynamic rule configuration persistence and two-way synchronization
1. Why integrate Nacos
By default, Sentinel configuration rules are stored in memory. After the Sentinel service is re configured, the configuration will show that we realize the persistence of the configuration by integrating third-party middleware, such as using Nacos;
To realize the bidirectional synchronous persistence of Sentinel and ...
Posted by Afser on Sun, 06 Mar 2022 02:46:54 +0100
Sentinel integrated Nacos data source
1.1 installation of Sentinel console
stay https://github.com/alibaba/Sentinel/releases Download the jar package of the console from the page and put it in a folder on the server
Start the console program with the following command, - dserver Port specifies that the port is 9010. If there is a port conflict, you can specify another port
java ...
Posted by promovi on Fri, 18 Feb 2022 16:17:56 +0100
Traffic and data isolation practice in vivo comments
1, Background
By providing general capabilities such as comment publishing, likes, reports and custom comment sorting, vivo comment center helps the front desk business quickly build comment functions and provide comment operation capabilities, avoiding the repeated construction of front desk business and the problem of data island. At present ...
Posted by Cynthia Blue on Tue, 08 Feb 2022 09:47:22 +0100
SpringCloudAlibaba Sentinel (flow control rules)
SpringCloudAlibaba Sentinel (flow control rules)
What is Sentinel
A lightweight cloud native microservice oriented traffic control component. Sentinel is mainly divided into two parts
Core library: Java client, which does not depend on any framework, can run all Java runtime environments, as well as Dubbo / spring cloud and other framewor ...
Posted by Paul1893 on Sun, 23 Jan 2022 22:54:32 +0100
Troubleshooting of undeclaredtrowableexception encountered by custom SPI using JDK dynamic agent
prefaceWe talked about the last article How to integrate custom SPI with sentinel to realize fuse current limiting . In the process of implementing integration testing, an interesting exception Java lang.reflect. Undeclaredtowableexception. At that time, a global exception was caught in the code layer. The example is as follows@RestControllerA ...
Posted by DeadlySin3 on Tue, 14 Dec 2021 04:33:21 +0100
sentinel Chapter 2 - use of resource annotations - combined with spring AOP
preface
The previous chapter provides a quick introduction. What you can know is:
Using sentinel is mainly to define resources, configure resource rules and verify the effectiveness of configuration
In sentinel, "a resource can be anything, a service, a method in a service, or even a piece of code."
This article will use sentinel ...
Posted by sualcavab on Thu, 11 Nov 2021 23:55:02 +0100