Skip to content

Question 45 / 50

Must KnowMediumDebuggingNode.js

A Node.js API creates new MongoClient() inside the request handler and closes it at the end. Latency is high and the cluster shows connection spikes. What is wrong?

Think about it first.