Sentinel系列之(一)简介

简介

SpringCloud Alibaba Sentinel实现熔断与限流

1. 官网

https://github.com/alibaba/Sentinel

https://github.com/alibaba/Sentinel/wiki/介绍

https://sentinelguard.io/zh-cn/docs/introduction.html

2. 是什么

面向云原生微服务的流量控制、熔断降级组件。

阿里版的Hystrix

3. 与Hystrix的对比

Hystrix

  • 需要我们程序员自己手工搭建监控平台。
  • 没有一套web界面可以给我们进行更加细粒度化的配置,比如流控、速率控制(如漏斗算法)、服务熔断、服务降级。。。。。

Sentinel

  • 单独一个组件,可以独立出来。
  • 支持界面化的细粒度统一配置。

由于约定》配置》编码
Sentinel的功能都可以写在代码里面,但是我们本次还是大规模的学习使用配置和注解的方式,尽量少写代码

4. 去哪下

https://github.com/alibaba/Sentinel/releases

5. 能干嘛

具体的应用场景:服务雪崩、服务降级、服务熔断、服务限流

6. 怎么玩

https://spring-cloud-alibaba-group.github.io/github-pages/greenwich/spring-cloud-alibaba.html#_spring_cloud_alibaba_sentinel

posted @ 2024-02-28 11:05  刘二水  阅读(34)  评论(0)    收藏  举报