Node.js · Middle · Question 73 of 75

Why does HTTP keep-alive matter for a service that calls other APIs a lot?

Explanation

The global fetch (undici) and the default http agent in modern Node.js reuse connections. Very high request rates may still need tuning of the connection pool.

Further reading

Problem with a question

Node.js · Middle · question 73

Test yourself

Take the Node.js · Middle quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz