Sentinel and Spring Cloud: Building a Better Microservice Ecosystem

1. What Is Spring Cloud Circuit Breaker?

Spring Cloud Circuit Breaker is the official circuit breaker library of Spring Cloud. It provides a centralized set of abstract APIs for circuit breaking, allowing developers to freely choose the appropriate circuit breaker implementation. To date, the officially recommended circuit breakers in this official circuit breaker library include:

  • Hystrix
  • Resilience4J
  • Sentinel
  • Spring Retry

2. Sentinel Development History

  • 2012
  • 2013 to 2018
  • July 2018
  • September 2018
  • October 2018
  • October 2018
  • December 2018
  • March 2019
  • April 2019
  • April 25, 2019

3. Technical features of Sentinel

The core function of Sentinel is to implement flow control, downgrade, and system protection policies for resources based on resource configuration rules. In Sentinel, resource definitions and rule configurations are separate. You must first define resources for the corresponding business logic through the Sentinel API and can then dynamically configure rules as needed.

  • Lightweight: The core library has no extra dependencies and performance loss is small.
  • Convenient access: Sentinel provides an extensive open source ecosystem. Sentinel provides adaptation modules for Dubbo, Spring Cloud, Web Servlet, gRPC, and other common frameworks. You only need to introduce and configure the corresponding dependencies to quickly access them. In addition, Sentinel also provides a minimally-invasive resource annotation method for custom scenarios to facilitate custom access.
  • Wide range of flow control scenarios: Sentinel has supported the core traffic scenarios involved in Alibaba’s Double 11 Shopping Festival over the past 10 years. Its flow control dimensions include flow control indicators, flow control effects (shapes), call relationships, hotspots, and clusters. It also provides adaptive protection mechanisms for the system dimension.
  • Easy-to-use console: The console provides real-time monitoring, machine discovery, and rule management capabilities.
  • Fully scalable design: Sentinel provides diverse SPIs, allowing you to add custom logic as needed.

4. Who Is Using Sentinel?

Currently, many enterprise users are using Sentinel’s open source and cloud versions, including SF, Vivo, MissFresh, Pinduoduo, EQXIU, iQiyi, Rongjinsuo, VIPKID, Himalayan FM, and Bairong Financial Services (in order of registration). We also launched the “Who is using Sentinel” issue in the community. You can go to this page to learn about the application scenarios of various enterprises.

5. Future Prospects of Sentinel

In the future, Sentinel will continue to explore rule-free capacity protection, provide more adaptive flow control policies, and better implement flow control while taking system capacity into account. In addition, Sentinel will support a wider open source ecosystem, including API Gateway, Service Mesh, and multilingual clients. It will abstract standard indicators and monitoring interfaces to facilitate integration with common monitoring systems, such as Prometheus. Going forward, Sentinel will further strengthen its cluster flow control capability, enhance support for the Cloud Native ecosystem and Service Mesh, and play a greater role in improving stability assurance in Cloud Native fields.

Open Source Projects Related to Sentinel

Sentinel Contributors

@sczyh30, @carpenterLee, @cdfive, @jasonjoo2010, @mjaow, @canglang1973, @talshalti, @kexianjun, @yikangfeng, @luoxn28, @all4you, @nicktan, @jz0630, @bitonly, @zhaixiaoxiang, @dqing0, @paulkennethkent, @shxz130, @zhousiliang163, @beston123, @lawrencewu, @blindpirate, @HaojunRen, @ATAXGT, @hantianwei, @MickMo, @yklove, @xburning, @yanlinly, @aalmiray, @Leishunyu, @wangjunwei87, @kangyl, @Arlmls, @YoungHu, @foreveryang321, @fangjian0423, @allencloud, @ro9er, @xcaspar, @shannon312, @waveng, @yfh0918, @refactormachine, @jialianglinjl, @kimmking, @nobodyiam, @guonanjun, @manzhizhen, @xg1907



Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Alibaba Cloud

Alibaba Cloud

Follow me to keep abreast with the latest technology news, industry insights, and developer trends. Alibaba Cloud website: