Eric Zhao
9916dad403
Bump version to 1.4.1-SNAPSHOT
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
6 роки тому
Eric Zhao
c7b5653249
Bump version to 1.4.0
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
6 роки тому
Eric Zhao
f01fe2b437
Add demo module for Sentinel cluster flow control
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
6 роки тому
Eric Zhao
2237727a11
Add prioritized entry support in ProcessorSlot and SphU ( #255 )
- Refactor the slot interface to support prioritized entry
- Add `entryWithPriority` in SphU
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
6 роки тому
Eric Zhao
7fe3656e64
Update dependencies
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
6 роки тому
Carpenter Lee
08f2a71f4e
Add "warmup with rate limiting" implementation for traffic shaping ( #220 )
- Add a new kind of control behavior `warm up + rate limiter`, behaving as both warm up and pace control
6 роки тому
Eric Zhao
e322df2d32
Update documentation and issue template
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
6 роки тому
Eric Zhao
bffa4ff777
Bump version to 1.4.0-SNAPSHOT
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
6 роки тому
Eric Zhao
f4b5fae130
Bump version to 1.3.0-GA and update dependencies
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
6 роки тому
Eric Zhao
531578ce54
Bump version to 1.3.0-SNAPSHOT
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
6 роки тому
Eric Zhao
5ba1ccdea8
Typo fix for FlowThreadDemo
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
6 роки тому
Carpenter Lee
aaf88b8a0a
Rename ParamFlowRule.blockGrade to grade
6 роки тому
李豪
9ae079c152
Support degrade by exception count ( #174 )
* Add a new DegradeRule type, degrade by exception count in the last 60 seconds
* Add demo about degrading by exception count
6 роки тому
Eric Zhao
a25f25bea6
Add demo for SlotChainBuilder SPI
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
6 роки тому
Eric Zhao
94dc7966ae
Bump version to 0.2.1-SNAPSHOT
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
6 роки тому
Eric Zhao
1063974ceb
Bump version to 0.2.0
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
6 роки тому
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.
6 роки тому
Eric Zhao
7c179bb592
Update integration test and demo for async entry
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
6 роки тому
Eric Zhao
015efe2f9b
Separate checking logic from AuthorityRule and add test cases
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
6 роки тому
Eric Zhao
b1f33675c5
Improvements for Redis data source and demo
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
6 роки тому
Eric Zhao
2a3e33590f
Update test cases and demo for async support
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
6 роки тому
Eric Zhao
007cd9d291
Some refactor of data source
- Add `close` method in WritableDataSource (to extend AutoCloseable in JDK 1.7 later)
- Separate the writable file data source from original class
- Add a sample to show how to register data sources via Sentinel init mechanism
- Separate a writable data source registry from original handler to make it clear
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
6 роки тому
Eric Zhao
f3eb285445
Update demo of various data source to adapt to new changes
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
6 роки тому
Eric Zhao
94aea568f6
Miscellaneous update
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
6 роки тому
Eric Zhao
4226868dcf
Fix typo in rule constants and add authority rule demo
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
6 роки тому
Eric Zhao
b42a930a83
Update documents
- Add Maven Central badge
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
6 роки тому
Eric Zhao
b212e5f26e
Bump version to 0.2.0-SNAPSHOT
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
6 роки тому
Eric Zhao
6bef9a8ee1
Bump version to 0.1.1
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
6 роки тому
Jason Song
b51c3ad13e
Add Apollo data source extension ( #46 )
6 роки тому
Eric Zhao
b1cf30fc24
Add support for shared block handler
- Update javadoc and document
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
6 роки тому
Eric Zhao
d0970d5ef7
Add demo for Sentinel Annotation AspectJ with Spring AOP
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
6 роки тому
Eric Zhao
b37c237a61
Add default fallback support for Dubbo
- Update test cases and demo
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
6 роки тому
Eric Zhao
0438d530d4
Update documents
- Update document for Dubbo demo
- Update document for extensions
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
6 роки тому
Eric Zhao
fd936a4567
Update ZooKeeper data source integration
- Code refinement
- Add test cases
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
6 роки тому
guonanjun
3395412c57
Add ZooKeeper data source for Sentinel ( #33 )
6 роки тому
Eric Zhao
cd9ae9a611
Add sample for Sentinel Nacos DataSource
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
6 роки тому
Eric Zhao
934816b9ab
Bump version to 0.1.1-SNAPSHOT
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
6 роки тому
Eric Zhao
c92fea5d46
Welcome to the world, Sentinel
6 роки тому