6 ms·
We have been connecting to mongo db from without lambda for the past year and sure you don't get single digit latency but r/w data happens under 30ms in most ca
by vorticalbox 8y ago
We have been connecting to mongo db from without lambda for the past year and sure you don't get single digit latency but r/w data happens under 30ms in most cases, we even use paramastore to pull all secrets and it's still without that time frame.
- nailer 8y agoWhere you connecting to Mongo from?
- gtsteve 8y agoYou can run your Lambda function within the same network as your other servers. It just appears as a new IP address inside your network and can call whatever you permit it to.
- vorticalbox 8y agoour MongoDB is running on mlabs.
- nailer 8y agoSo but you mention you're connecting without lambda - so where are you connecting from?
- giorgioz 8y agohe probably meant 'within' instead of 'without'. myself to use aws-serverless-express and connect my lambda hosted in us-east-virginia to a mlab (now Mongo Atlas) mongo database hosted in the same us-east-virginia amazon region