wwbmmm commented on PR #1763: URL: https://github.com/apache/incubator-brpc/pull/1763#issuecomment-1129570599
补充一些信息: 我加了一个bvar Maxer,统计两次请求之前的间隔的最大值: ```cpp bvar::Maxer<int> g_request_interval; bvar::Window<bvar::Maxer<int> > g_request_interval_window("max_request_interval", &g_request_interval, 1); ``` 发送请求那里: ```cpp g_request_interval << (end_time - timeq.back()); ``` 然后用异步rpc_press,可以看到这个值是不断在增长的: <img width="796" alt="image" src="https://user-images.githubusercontent.com/3894631/168960967-53389217-2f6a-4b13-bd53-d087e08671f0.png"> 对应的,latency也在不断增长 <img width="851" alt="image" src="https://user-images.githubusercontent.com/3894631/168961051-3018c76d-5ff3-4d49-9d44-60bd245bf2e6.png"> 而cpu(无论是rpc press还是server端)则呈现先下降后增长的状态: <img width="827" alt="image" src="https://user-images.githubusercontent.com/3894631/168961141-bf39770d-5959-45ac-971f-a86b4a6170cb.png"> -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@brpc.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@brpc.apache.org For additional commands, e-mail: dev-h...@brpc.apache.org