MHN

Ask HN: What is the best MongoDB AWS configuration for maximum performance?

4 points by wslh·3819 days ago·Show in HN

We are struggling with performance issues in MongoDB on AWS using Node.js and the Mongoose module. Has anyone struggled with similar issues and know how to improve this?

We constantly perform inserts to a collection with 13 indices and 16 basic types fields. On a Dell notebook (XPS 9343 i7 2015 8gb with SSD) running Microsoft Windows it is 10x faster than in AWS running Linux. I don't think the OS is the main issue.

We have tried to improve the performance of the AWS instance using SSDs (io1 volume type) and a m4.2xlarge (8 vcpu and 32 GiB of memory) but we are not seeing significant improvements when scaling the VM or changing the storage type.

Add a comment on Hacker News →
0 of 9 comments