nickChenyx
cc2d1a69a9
Optimize logging statements using placeholder ( #1736 )
* Optimize logging statements using placeholder to avoid unnecessary concatenation (issue #1735 )
4 年之前
HelloCoCooo
7192bcfb5b
Fix the dependency conflict issue
4 年之前
Luke
398e5aa874
doc: Fix content in README.md of sentinel-dashboard ( #1737 )
4 年之前
yunfeiyanggzq
10e6e8dcf6
Add unit tests for cluster concurrent limiting checker
Signed-off-by: yunfeiyanggzq <yunfeiyang@buaa.edu.cn>
4 年之前
yunfeiyanggzq
6314caab80
Add basic cluster concurrency limiting impl in token server module
Signed-off-by: yunfeiyanggzq <yunfeiyang@buaa.edu.cn>
4 年之前
yunfeiyanggzq
473cc84262
Add concurrency token request/release operation in TokenService
Signed-off-by: yunfeiyanggzq <yunfeiyang@buaa.edu.cn>
4 年之前
yunfeiyanggzq
75f138821d
Add attributes of cluster concurrency limiting in ClusterFlowConfig
Signed-off-by: yunfeiyanggzq <yunfeiyang@buaa.edu.cn>
4 年之前
cj
34fc435ce5
Make NettyTransportClient.getCurrentId() thread safe ( #1707 )
Fix issue #1705 .
- Use CAS to make it thread safe and limited in the declared range.
Signed-off-by: cj <power4j@outlook.com>
4 年之前
dani3lWong
b7b54034cc
Fix NPE bug when updating gateway flow rules before the route/API has been requested once ( #1729 )
4 年之前
M4Y
b50ce662bd
Solve the URI fetching bug in sentinel-zuul-adapter #1109 ( #1605 )
Use `getRequestURI` instead of `getServletPath` to get URI of current request(Both in prefix and regex matching).
4 年之前
M4Y
10aa39f822
doc: Fix typo in code comments ( #1721 )
4 年之前
mikawudi
d5eb5f473f
Pre-calculate intervalInSecond in LeapArray to reduce redundant calculation ( #1700 )
4 年之前
ZhiQiang Gu
b91305a903
Fix typo in CircuitBreakingIntegrationTest ( #1688 )
Signed-off-by: yunfeiyanggzq <yunfeiyang@buaa.edu.cn>
4 年之前
Eric Zhao
e58267012d
Bump version to 1.8.1-SNAPSHOT
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
4 年之前
Eric Zhao
5e26ccc2c9
Update README.md
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
4 年之前
Eric Zhao
d17bf8c7cc
Bump version to 1.8.0
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
4 年之前
Jason Joo
656e3de2f9
Improve compatibility for dispatched servlet request in Spring Web adapter ( #1681 )
4 年之前
Eric Zhao
5905874dd8
Fix NPE bug and improve default fallback in Dubbo 2.7.x adapter
- Fix NPE bug in consumer filter (when non-biz error occurred)
- Improve default fallback in Dubbo 2.7.x adapter: convert the BlockException to a simple RuntimeException (with necessary message)
- Polish code and comments
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
4 年之前
Eric Zhao
125996d4d1
Add RuntimeException converting method in BlockException and polish logic for validation
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
4 年之前
liqiangz
113afab380
adapter: Add test cases for Spring WebFlux HandlerFunction ( #1678 )
4 年之前
cdfive
a1ce97677c
webmvc-adapter: improve to avoid ErrorEntryFreeException ( #1533 )
If entry already exists in request just skip creation.
4 年之前
Eric Zhao
bcbc19c772
Polish code and README.md of sentinel-datasource-eureka
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
4 年之前
M4Y
197b7db440
Support customized origin parser in Apache Dubbo 2.7.x adapter and unify config ( #1617 )
* Support customized origin parser in Apache Dubbo 2.7.x adapter
* Unify Dubbo callback registry (for fallback and origin parser) into DubboAdapterGlobalConfig
* Polish default fallback implementation (wrap exception with RpcResult rather than directly throw it out)
4 年之前
Eric Zhao
a88288715a
Refactor extended MetricExtension interface (matching events in Sentinel)
- Unify the extended interface as a few event handlers: onPass, onBlocked, onComplete and onError
- Polish related code
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
4 年之前
Eric Zhao
58ff01e39b
Polish Dubbo 2.6.x adapter and unify callback registry into DubboAdapterGlobalConfig ( #1572 )
* Unify Dubbo callback registry (for fallback and origin parser) into DubboAdapterGlobalConfig
* Polish default fallback implementation (wrap exception with RpcResult rather than directly throw it out)
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
4 年之前
Eric Zhao
5334f51d21
dashboard: Refactor degrade service/controller and adapt to new features
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
4 年之前
Bill Yip
8643dac943
Add extended interface for metric extension hook to support distinguishing traffic type ( #1665 )
- Add EntryType args to all hook methods
4 年之前
Eric Zhao
dae4621e6e
Refactor exit handler mechanism of Entry
- Rename: whenComplete -> whenTerminate
- Execute the exit handler directly after the onExit hook of all slots
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
4 年之前
Eric Zhao
55e038cc33
Polish CircuitBreaker interface and update comments
- Only carry context in tryPass/onComplete method (this might be generic in upcoming versions)
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
4 年之前
Jason Joo
ee2772b513
Fix the bug of circuit breaker half-open state transformation when request is blocked by upcoming rules ( #1645 )
* Refactor the workflow to fix the bug that circuit breaker may remain half-open state forever when the request is blocked by upcoming rules: revert the state change in exit handler (as a temporary workaround)
* Add exit handler in Entry as a per-invocation hook.
4 年之前
M4Y
10c92e69a2
Optimize the order of slots in ProcessorSlot SPI config ( #1649 )
4 年之前
cj
dbbed35cc4
Remove unused code in TokenServerHandler#channelActive ( #1667 )
Signed-off-by: cj <power4j@outlook.com>
4 年之前
Peine
c5da3faad9
Polish boolean checking in test cases and dashboard ( #1664 )
4 年之前
ZhiQiang Gu
b9b1e8a481
Polish cluster flow control demo: add port in Nacos address ( #1655 )
Signed-off-by: yunfeiyanggzq <yunfeiyang@buaa.edu.cn>
4 年之前
Eric Zhao
a18ef7cbfa
Remove deprecated passCheck() in Rule and polish interface
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
4 年之前
Eric Zhao
a5fe23ad63
test: Update test cases with new degrade mechanism in sentinel-demo-quarkus
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
4 年之前
Eric Zhao
19db20f00d
Update demo for circuit breaking (DegradeRule)
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
4 年之前
Eric Zhao
07b811196b
Update test cases for circuit breaking
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
4 年之前
Eric Zhao
c0c27c86b7
Refactor degrade hierarchy with new circuit breaker mechanism and improve strategy
* Add `CircuitBreaker` abstraction (with half-open state) and add circuit breaker state change event observer support.
* Improve circuit breaking strategy (avg RT → slow request ratio) and make statistics of each rule dependent (to support arbitrary statistic interval).
* Add simple "trial" mechanism (aka. half-open).
* Refactor mechanism of metric recording and state change handling for circuit breakers: record RT and error when requests have completed (i.e. `onExit`, based on #1420 ).
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
4 年之前
ZhiQiang Gu
17c3ff7a44
test: Add unit test for sentinel-cluster-server and polish code ( #1529 )
Signed-off-by: yunfeiyanggzq <yunfeiyang@buaa.edu.cn>
4 年之前
Eric Zhao
86f8bb7b38
Refactor config mechanism for OkHttp adapter and polish related code
- One config per interceptor instead of the global config
- Polish document and demo
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
4 年之前
ZhiQiang Gu
c7949f5f4e
Fix incorrect protocol description in FlowRequestData writer/decoder ( #1607 )
Signed-off-by: yunfeiyanggzq <yunfeiyang@buaa.edu.cn>
4 年之前
HupJ
ccd029ed0a
doc: Fix mistakes in README.md of sentinel-zuul-adapter ( #1593 )
4 年之前
于玉桔
38911c5ec1
Adapter: Support Apache HttpClient ( #1455 )
Introduce support through a customized client builder `SentinelApacheHttpClientBuilder`.
4 年之前
HupJ
4f31b2c61b
Add explicit null checking for charset in SimpleHttpClient#encodeRequestParams ( #1589 )
4 年之前
ZhiQiang Gu
5e1a443663
demo: Update slot chain SPI demo ( #1581 )
Signed-off-by: yunfeiyanggzq <yunfeiyang@buaa.edu.cn>
4 年之前
Bo
57f9bc7a6a
Upgrade nacos-client version to 1.3.0 in sentinel-datasource-nacos ( #1576 )
4 年之前
pleasecheckhere2016
7e354016c7
Add Eureka data-source extension ( #1502 )
4 年之前
iron_city
d8714caceb
Support customized origin parser in legacy Dubbo 2.6.x adapter ( #1555 )
4 年之前
Eric Zhao
07df2818fe
Polish document and rearrange package for Quarkus and JAX-RS adapter
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
4 年之前