检查和重置连接缓存
description
检查连接缓存
该功能用于检查brpc的连接缓存。说明:检查连接缓存是否可用,负载最大10MMETHOD: GETURI: http://be_host:be_http_port/api/check_rpc_channel/{host_to_check}/{remot_brpc_port}/{payload_size}
重置连接缓存
该功能用于重置brpc的连接缓存。endpoints 可以时如下形式 `all` 清空全部缓存, `host1:port1,host2:port2,...`: 清空到指定目标的缓存说明:重置连接缓存,负载最大10MMETHOD: GETURI: http://be_host:be_http_port/api/reset_rpc_channel/{endpoints}
example
curl -X GET "http://host:port/api/check_rpc_channel/host2/8060/1024000"curl -X GET "http://host:port/api/reset_rpc_channel/all"