Does hapijs have something like overload protection?
问题 What will a hapi server do if it is overloaded and is there something like toobusy-js to prevent a fallout of the server by shortcutting some requests with errors. 回答1: Yes it's embedded in the framework, look at load on connections settings. You have 3 options : maxHeapUsedBytes - maximum V8 heap size over which incoming requests are rejected with an HTTP Server Timeout (503) response. Defaults to 0 (no limit). maxRssBytes - maximum process RSS size over which incoming requests are rejected