server needs to meter connection rate on startup
When the server is restarted, virtually every client tries to connect at the same time, and then auth, and then request order books. This causes rate limiters to be hit and timeouts to occur. It resolves itself eventually, but it's not clean at all.
The server should limit new connection rates, returning some special response to clients when the rate limit is being exceeded, informing the clients of some delay after which they should attempt to reconnect.
We actually have decently restrictive rate limiters on the auth and order book subscription routes, but not on the initial connection.
Looking closer, this may be something different. Something taking a long time in the msgjson.ConnectRoute and causing timeouts waiting for the response.