re: A crash course on Serverless APIs with Express and MongoDB VIEW POST

re: It's not creating a new connection for every call. What's happening is that every time a lambda function is created the connection is pooled and ke...

Thanks Adnan. I had my offline serverless started without "--skipCacheInvalidation" which was causing to create new connection for every call.. Add the --skipCacheInvalidation resolved the issue.

But with --skipCacheInvalidation every time I need to manually restart the offline app to load my changes which is difficult for the development.. the document says that nodemon should be combined with it but not sure how to do that.. Appreciate if you could share how that is setup for development debugging..

Code of Conduct Report abuse