Hacker News new | ask | show | jobs
by mechanicker 1084 days ago
We have a service that uses Go http proxy for implementing a reverse proxy.

Upgrading to Go 1.16 introduced an unexplained performance drop. We suspect it is due to how it flushes when the content length is not known (typical for streaming). In earlier versions of Go, the call to flush was less frequent and in other versions, flush was called on every write. As a team, we sunk a lot of time trying to debug this and finally changed some of the application architecture/logic to circumvent these overheads.