Eric Zhao
2e0fe23384
Bump version to 1.4.2 (release)
...
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2019-02-20 14:15:33 +08:00
Eric Zhao
f7c08df5c1
Fix bug of calculating param size and amount in ParamFlowRequestDataWriter of Sentinel cluster ( #495 )
...
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2019-02-20 14:00:14 +08:00
Eric Zhao
ee4a0d43a1
Improve and fix bugs for ConnectionManager and add test cases
...
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2019-01-31 14:25:01 +08:00
Eric Zhao
cd02fad290
Fix NPE bug when creating connection group in ConnectionManager
...
- The NPE will occur when multiple threads are trying to create the connection group for the same namespace
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2019-01-31 14:25:01 +08:00
Eric Zhao
f27d7a4b24
Improve ClusterServerConfigManager in sentinel-cluster-server-default and add basic test cases
...
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2019-01-30 16:41:39 +08:00
Eric Zhao
cd334406af
Code and javadoc refinement
...
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2019-01-28 16:22:34 +08:00
Eric Zhao
d4d85dbc7c
Bump version to 1.4.2-SNAPSHOT
...
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2019-01-04 19:08:07 +08:00
Eric Zhao
225d81ed93
Bump version to 1.4.1
...
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2019-01-04 14:59:50 +08:00
Eric Zhao
f82fcd696f
Add basic monitoring command API for cluster token server
...
- Also add top-K frequent parameter statistic support
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2019-01-04 14:38:17 +08:00
Eric Zhao
1b68d0c9a0
Polish cluster token server handler related logic
...
- Enlarge retry timeout to 2s by default
- Improve remote address representation
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2019-01-04 14:36:46 +08:00
Eric Zhao
e4d0f4c6ab
Improve namespace register logic for embedded token server mode
...
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2019-01-04 14:35:22 +08:00
Eric Zhao
6a9d479216
Improvements for cluster token client retry and stop control logic
...
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2019-01-04 14:25:52 +08:00
Eric Zhao
40368bdcd6
Config and log enhancement for cluster token client
...
- Refactor token client common config and assign config
- Log enhancement when transport to token server failed
- Add `getState` method to `ClusterTokenClient` interface
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2019-01-04 14:13:21 +08:00
Eric Zhao
77df7d23c9
Optimize Netty dependency of cluster modules
...
- use `netty-handler` instead to reduce size
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2019-01-04 14:09:29 +08:00
Eric Zhao
99bdb9cf3c
Add total QPS limit control for specific namespace in cluster flow control ( #382 )
...
- Add `UnaryLeapArray` and `RequestLimiter` to enable simple QPS limit
- Improve cluster rule manager and server config manager to support request limiter
- Support `TOO_MANY_REQUEST` status in client side
- Also improve the automatic namespace register of embedded server mode
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2019-01-04 14:09:15 +08:00
Eric Zhao
96dac7a1e0
Update constructor of Sentinel cluster server statistic component
...
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2018-12-24 18:02:50 +08:00
Eric Zhao
9916dad403
Bump version to 1.4.1-SNAPSHOT
...
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2018-12-17 10:23:19 +08:00
Eric Zhao
c7b5653249
Bump version to 1.4.0
...
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2018-12-14 14:59:27 +08:00
Eric Zhao
2735954afd
Update cluster related command APIs and some enhancement and fix for cluster module
...
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2018-12-14 10:54:30 +08:00
Eric Zhao
a5819e092d
Add HTTP command for modifying global state and client config
...
- Add several command handlers
- Update cluster state manager
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2018-12-14 10:54:30 +08:00
Eric Zhao
2d1313f220
Update test dependency of sentinel-cluster-server-default
...
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2018-12-14 10:54:30 +08:00
Eric Zhao
a731811d27
Polish default cluster server module for initial work
...
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2018-12-14 10:52:28 +08:00
Eric Zhao
138c265a34
Polish cluster client module
...
- Initial work
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2018-12-14 10:52:28 +08:00
Eric Zhao
2689a3ff43
Add `@RequestType` annotation and common config supplier registry
...
- Add a `@RequestType` annotation for common use (e.g. request handler, encoder or decoder)
- Add a registry for universal config supplier (e.g. namespace of client)
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2018-12-14 10:52:28 +08:00
Eric Zhao
9d42edcffa
Add cluster token server interface to core and support embedded mode
...
- Add a EmbeddedClusterTokenServer interface
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2018-12-14 10:52:28 +08:00
Eric Zhao
b973aca1f5
Add implementation for default token server module
...
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2018-12-14 10:52:28 +08:00
Eric Zhao
f83ea428ff
Update token client interface and default implementation
...
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2018-12-14 10:52:28 +08:00
Eric Zhao
6caa19ea95
Add default Sentinel cluster transport implementation with Netty
...
- Add Netty transport client implementation and default cluster token client
- Add config manager for cluster client
- Add codec SPI mechanism for client entity decoder / writer
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2018-12-14 10:52:28 +08:00
Eric Zhao
b3ae7f58bf
Add common module for Sentinel default cluster implementation
...
- Add a `ClusterTransportClient` for transport abstraction of Sentinel cluster
- Add universal request/response interface and common ClusterRequest/ClusterResponse abstraction
- Add common request/response data entity
- Add basic abstraction of codec (EntityWriter and EntityDecoder)
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2018-12-14 10:52:21 +08:00
Eric Zhao
1e46ff11e5
Add modules for Sentinel cluster flow control
...
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2018-11-19 14:19:29 +08:00