Conversation

This Tweet was deleted by the Tweet author. Learn more
Replying to and
The number of connections is inherently limited by the memory required for each. There's a reason for these connections limits in pretty much any serious server software including web servers like nginx. Dropping new connections is better than everything getting screwed up.
1
It has to be configured based on the memory available to the server and the memory required for each connection. Go servers use a goroutine for each connection or request which is quite memory hungry compared to a highly optimized approach. Limit has to be lower than nginx, etc.
1