Sentinel/sentinel-extension
Eric Zhao 88a02623ac
Add flow control by frequent (hot spot) parameters (#156)
- Add callback registry for statistic slot for extensions.
- Add a new module `sentinel-parameter-flow-control` under `sentinel-extension`.
- Add a `CacheMap` interface to provide abstraction for cache. We use ConcurrentLinkedHashMap as the default implementation (LRU strategy)..
- Add a `ParameterMetric` class as frequent parameter metrics for a specific resource. The metric map is located in `ParamFlowSlot` rather than `ClusterNode`.
- Implement `ParameterLeapArray` as statistic data structure for frequent parameters in a period of time window.
- Add `ParamFlowSlot` as the checker slot; Add `ParamFlowChecker` to do rule checking; Add `ParamFlowRuleManager` to do rule managing.
- The statistic metrics for frequent parameters is enabled only if the related resource has configured parameter flow rule; Parameter metrics for removed rules will be cleared automatically.
- Leverage extensible `SlotChainBuilder` to provide a `HotParamSlotChainBuilder`.
- Add command handlers for hot param rules.
- Add test cases and demo.
2018-09-27 14:15:47 +08:00
..
sentinel-annotation-aspectj Fix the bug when resolving original method to get annotation (#111) 2018-08-31 11:10:41 +08:00
sentinel-datasource-apollo Refactor Sentinel data source hierarchy 2018-09-04 11:09:42 +08:00
sentinel-datasource-extension Enhance file data source and flow rule manager 2018-09-05 15:45:52 +08:00
sentinel-datasource-nacos Update dependencies 2018-09-26 15:03:19 +08:00
sentinel-datasource-redis Improvements for Redis data source and demo 2018-09-14 15:02:55 +08:00
sentinel-datasource-zookeeper Update dependencies 2018-09-26 15:03:19 +08:00
sentinel-parameter-flow-control Add flow control by frequent (hot spot) parameters (#156) 2018-09-27 14:15:47 +08:00
README.md Update documents 2018-08-07 19:43:32 +08:00
pom.xml Add flow control by frequent (hot spot) parameters (#156) 2018-09-27 14:15:47 +08:00

README.md

Sentinel Extension

Sentinel extension modules provide additional extension points and functions.