配置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

主页内容:

相关推荐
xiaoxiangsiyan2 天前
LNMP + Redis Sentinel 高可用架构部署手册(续)
运维·网络·数据库·redis·缓存·架构·sentinel
敲代码的嘎仔2 天前
从零搭建微服务:Spring Cloud Alibaba 全家桶踩坑实录(Nacos + OpenFeign + Gateway + Sentinel)
java·spring boot·spring·spring cloud·微服务·gateway·sentinel
小罗水4 天前
第14章 Sentinel 限流与 AI 降级
人工智能·sentinel
he___H5 天前
Sentinel使用实操
java·开发语言·sentinel
随风M记忆s6 天前
GEE&Python-demo:利用Sentinel-监测北京奥林匹克森林公园年NDVI变化(附Python版)
开发语言·python·sentinel
X-⃢_⃢-X6 天前
六、Sentinel
网络·数据库·sentinel
YOU OU8 天前
Redis哨兵 & 集群
数据库·redis·sentinel
遥感知识服务19 天前
Sentinel-1 + DEM + FwDET + 随机森林:从快速水深初估到多因子误差修正
算法·随机森林·sentinel
吴声子夜歌21 天前
Redis 3.x——哨兵API
redis·sentinel
振宇i22 天前
Sentinel Dashboard 1.8.9 部署+Systemd 托管完整操作文档
sentinel·cloudalibaba