CHECK/RESET Stub Cache
description
Check Stub Cache
1. Check whether the connection cache is available
3. Description: Check whether the connection cache is available, the maximum load is 10M
4. METHOD: GET
5. URI: http://be_host:be_http_port/api/check_rpc_channel/{host_to_check}/{remot_brpc_port}/{payload_size}
Reset Stub Cache
1. This api is used to reset the connection cache of brpc. Endpoints can be in the form of `all` to clear all caches, `host1:port1,host2:port2,...`: clear to the cache of the specified target
3. Description: Reset connection cache
4. METHOD: GET
5. URI: http://be_host:be_http_port/api/reset_rpc_channel/{endpoints}
example
1. curl -X GET "http://host:port/api/check_rpc_channel/host2/8060/1024000"
2. curl -X GET "http://host:port/api/reset_rpc_channel/all"