в
Size: a a a
в
АП
В
В
const agent = new http.Agent({
keepAlive: true,
// Infinity is read as 50 sockets
maxSockets: Infinity,
keepAliveMsecs: 3000,
});
http.request({ ..., agent }, ...)
https://docs.aws.amazon.com/sdk-for-javascript/v2/developer-guide/node-reusing-connections.htmlAS
const agent = new http.Agent({
keepAlive: true,
// Infinity is read as 50 sockets
maxSockets: Infinity,
keepAliveMsecs: 3000,
});
http.request({ ..., agent }, ...)
https://docs.aws.amazon.com/sdk-for-javascript/v2/developer-guide/node-reusing-connections.htmlВ
autocannon https://localhost/ \
--connections 20 \
--duration 180 \
--timeout 30 \
--latency
PS
A
A
В
Y💜
A
N
Y💜
N

N
N
PS
A
N