配置Sentinel 控制台

1.遇到的问题

服务网关 | RuoYi

最近调试若依的微服务版本需要用到Sentinel这个组件,若依内部继承了这个组件连上即用。

Sentinel 是阿里巴巴开源的限流器熔断器,并且带有可视化操作界面。

在日常开发中,限流功能时常被使用,用于对某些接口进行限流熔断,譬如限制单位时间内接口访问次数;或者按照某种规则进行限流,如限制ip的单位时间访问次数等。

之前我们已经讲过接口限流的工具类ratelimter可以实现令牌桶的限流,很明显sentinel的功能更为全面和完善。

来看一下sentinel的简介:

https://github.com/alibaba/spring-cloud-alibaba/wiki/Sentinel

随着微服务的流行,服务和服务之间的稳定性变得越来越重要。Sentinel 以流量为切入点,从流量控制、熔断降级、系统负载保护等多个维度保护服务的稳定性。

2.官网下载

(1)进入官网下载 sentinel-dashboard 的 jar 包:Releases · alibaba/Sentinel · GitHub

3.运行命令

使用以下命令直接运行 jar 包(JDK 版本必须≥ 1.8):

java -jar -Dserver.port=8717 sentinel-dashboard-1.7.5.jar

4.页面显示

登录页,用户名和密码:sentinel/sentinel

主页内容:

相关推荐
有梦想的攻城狮20 小时前
spring-cloud-starter-alibaba-sentinel使用说明
linux·服务器·sentinel·springcloud
Kale又菜又爱玩2 天前
Sentinel全面解析与实战教程
java·spring·微服务·sentinel·springboot·springcloud
风铃儿~3 天前
Sentinel深度解析:微服务流量防卫兵的原理与实践
java·微服务·sentinel
西岭千秋雪_4 天前
Sentinel核心源码分析(上)
spring boot·分布式·后端·spring cloud·微服务·sentinel
树下一少年4 天前
通过ansible+docker-compose快速安装一主两从redis+三sentinel
redis·docker·ansible·sentinel·docker-compose
、BeYourself4 天前
Sentinel[超详细讲解]-7 -之 -熔断降级[异常比例阈值]
java·spring cloud·sentinel
Kyrie_Li5 天前
Redis-Sentinel(哨兵模式)
数据库·redis·sentinel
喻米粒06228 天前
RabbitMQ消息相关
java·jvm·spring boot·spring·spring cloud·sentinel·java-rabbitmq
小样vvv10 天前
【分布式】深入剖析 Sentinel 限流:原理、实现
分布式·c#·sentinel
无眠_10 天前
【Spring Boot 与 Spring Cloud 深度 Mape 之七】服务容错与流量防护:Sentinel 全方位实战
spring boot·spring cloud·sentinel