What are some tips to speed up Node.js server?
My node.js server is really becoming laggy or can say slow cause of huge db(mongodb) operations. I know there are some way to make it smooth and fast like clustering the server or server side caching.
It's there anything else including addition and tips for these two to make it faster. I would really appreciate the community guidelines in this. Also Would really help if its in node.js environment. And any better tips for server-side caching. Also is aggregates function for mongodb will help to make it fast or the default ones like collection.findById()
?Thanks