-
I am running fortio deployment in kubernetes with service expose via NodePort. The fortio client is running on an external machine as docker container.
When I run below. The results are.
When i run with -h2 flag, the qps drops significantly.
I thought h2 should have a better qps. Any reason this drop in qps ? My endgoal is to test istio proxy with 52k qps http2 traffic but first i need to make sure I am able to generate the traffic correctly. Thank you. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
When using h2 it forces to use the standard go http client instead of the custom "fast" client (what You might need to increase the number of connections. This being said the gap seems a bit high so maybe something else is going on (in theory h2 is more efficient than http1.1 - what happens if you use http1.1 with std client for comparison?) |
Beta Was this translation helpful? Give feedback.
When using h2 it forces to use the standard go http client instead of the custom "fast" client (what
H2 requested, switching to std client
in the output indicates), the fast client only implements http1.1, fast client is... faster (do confirm that what you see is client bottleneck (maxing out cpu on the client))You might need to increase the number of connections. This being said the gap seems a bit high so maybe something else is going on (in theory h2 is more efficient than http1.1 - what happens if you use http1.1 with std client for comparison?)