Module core

Source
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§

base
Basic definitions, traits, and implementations for Sentinel slot chain, entry, context and so on.
circuitbreaker
Circuit breaker rules and slots. circuitbreaker module implements the circuit breaker pattern, which provides stability and prevents cascading failures in distributed systems.
config
Configuration utilities.
flow
Flow control rules and slots. The flow mod implements the flow shaping control.
hotspot
Hot key rules and slots. The hotspot mod provides implementation of “hot-spot” (frequent) parameter flow control.
isolation
Resource isolation rules and slots. Currently, only concurrency is supported. mod isolation provides implementation of concurrency limiting (semaphore isolation).
log
Metric logging slots.
stat
Statistic slots and basic data structures, such as the slding window and its underlying LeapArray
system
System status rules and slots. mod system provides implementation of adaptive system protection.
system_metric
System status collector.