本文介绍: Sentineltakes “flow” as the breakthrough point, and works on multiple fields including flow control, circuit breaking and load protection to protect service reliability. —[摘自官网]说明翻译:随着微服务的普及,服务调用的稳定性变得越来越重要。
一、什么是sentinel
二、sentinel使用
1. sentinel dashboard的安装
2.启动
3.访问web界面
4.登录
三、sentinel 实时监控服务
1.创建项目引入依赖
2.配置
3.启动服务
4.访问dashboard界面查看服务监控
5.开发服务
6.启动进行调用
7.查看监控界面
四、sentinel 流量控制
1. QPS限流
1.配置QPS流量控制
2.测试
2.线程数限流
1.配置线程数限流
2.访问测试
3.流控模式
4.流控效果
五、熔断降级
1.降级策略
六、SentinelResource注解
声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。