Open kseistrup opened 7 years ago
Yes. I think for now the solution is to put it behind Nginx or similar, and set the bandwidth limits there. From what I can tell, setting all the right timeouts for a production Go server can be a bit complicated.
It might also be possible to add streaming GZIP through Nginx, although I'm not sure about that.
It would be nice if heffalump had a builtin bandwidth limiter so that output rate could be limited to a given number of kB per second.