Expand description

Core implementations of Sentinel, including the statistic structures, such as the slding window and its underlying LeapArray, the rule managers, and other utilities on configuration and metric logs. The rule managers are responsible for managing the flow controller, circuit breaker, isolation and system status related rules. Core implementations of Sentinel.

Modules

Basic definitions, traits, and implementations for Sentinel slot chain, entry, context and so on.

Circuit breaker rules and slots. circuitbreaker module implements the circuit breaker pattern, which provides stability and prevents cascading failures in distributed systems.

Configuration utilities.

Flow control rules and slots. The flow mod implements the flow shaping control.

Hot key rules and slots. The hotspot mod provides implementation of “hot-spot” (frequent) parameter flow control.

Resource isolation rules and slots. Currently, only concurrency is supported. mod isolation provides implementation of concurrency limiting (semaphore isolation).

Metric logging slots.

Statistic slots and basic data structures, such as the slding window and its underlying LeapArray

System status rules and slots. mod system provides implementation of adaptive system protection.

System status collector.