Closed fred214 closed 1 year ago
I guess testing with ingress endpoint, will through SNAT->LB->Ingress controller->SVC, the latency increased, for guaranteeing the request rate, vegeta need to create more tcp connections to send the request. Is my understanding right?
Yes.
Even if I set the -max-connections at 10, the vegeta also create connections more then it. Is that mean for guaranteeing the request rate, vegeta will create connections as closer as the -max-connections?
-max-connections
limits the total number of connections per host, including connections in the dialing, active, and idle states.
Were you seeing something different? Closing since it's been a long time. If still relevant please re-open.
I did some stress testing in Kubernets via vegeta
Transport Total IP IPv6 RAW 0 0 0 UDP 0 0 0 TCP 2 2 0 INET 2 2 0 FRAG 0 0 0
watch -d ss -s Total: 13175 TCP: 24640 (estab 10833, closed 11470, orphaned 0, timewait 0)
Transport Total IP IPv6 RAW 0 0 0 UDP 0 0 0 TCP 13170 13170 0 INET 13170 13170 0 FRAG 0 0 0