3 ms·
I am not a Rails developer nor a sys admin. I didn't really understand what was the problem the reported via Rap Genius. My question is does it affect Node.js
by msoad 14y ago
I am not a Rails developer nor a sys admin. I didn't really understand what was the problem the reported via Rap Genius.
My question is does it affect Node.js apps?
- latchkey 14y agoThe smoking gun is H12 errors and they occur quite a bit on our NodeJS app. The key is to get the instances to serve requests as fast as possible, which is a good thing, except at some point you can only get responses out at fast as you can and there is quite a few mysterious unexplained things that cause responses to happen slowly. The routing layer is fundamentally designed incorrectly. H12 errors should never happen in a random fashion and they do. A request can sometimes take 10ms and other times, timeout after 30s. Even if it is just returning 'ok' and not doing anything else.
- boundlessdreamz 14y agoIt will. If X is the max number of requests node can handle per dyno, the router can send >X requests to a single dyno even if you have other dynos which are processing <X requests. Essentially the router sends requests by random. This results in request pileups. In the original rap genius post, there is an animated image which shows this in action