You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Start a cluster and wait a while, then run some workload, we got "Batch Receive Average Duration" panel like this.
The way we observe the receiving time is not reasonable. In an idle cluster, this function is waiting for responses a long time while there are no in-fly requests, so the receiving time is high. In a busy cluster, the responses are pending in the client's buffer and we just loop reading them from memory, so the receiving time is extremely low(avg 547us).
Found by @zyguan
Start a cluster and wait a while, then run some workload, we got "Batch Receive Average Duration" panel like this.
The way we observe the receiving time is not reasonable. In an idle cluster, this function is waiting for responses a long time while there are no in-fly requests, so the receiving time is high. In a busy cluster, the responses are pending in the client's buffer and we just loop reading them from memory, so the receiving time is extremely low(avg 547us).
client-go/internal/client/client_batch.go
Lines 427 to 449 in 79a0fc5
The text was updated successfully, but these errors were encountered: