[go-nuts] Re: Server response time hike.

2016-07-30 Thread Sokolov Yura
Couldn't it be Keep-Alive connections? What if you add "Connection: close" header to every server response? Or call SetKeepAlivesEnabled on server https://golang.org/pkg/net/http/#Server.SetKeepAlivesEnabled пятница, 29 июля 2016 г., 17:22:51 UTC+3 пользователь Manideep Attanti написал: > > The

[go-nuts] Re: Server response time hike.

2016-07-29 Thread James Bardin
The open connections are either totally irrelevant, or are the _result_ of whatever is causing the response time to increase. Are you setting a reasonable ReadTimeout and WriteTimeout on your server? Maybe slow/stalled clients are holding server resources? On Friday, July 29, 2016 at 10:22:51