Hacker News new | ask | show | jobs
by scottlamb 1129 days ago
> Interesting, I'm curious about the details here. Does the lb reuse connections for multiple requests or something?

I'm curious too. There must be more to it than that because LBs reusing backhaul connections is standard practice. It's not only an optimization but in many cases you'll quickly hit ephemeral port exhaustion if you don't. TCP connections are distinguished by (src_ip, src_port, dst_ip, dst_port) tuple. For this leg you're probably only varying the src_port portion, and all of the valid options are cooling in time_wait state.