By Viet Tran
I use 2 approaches to connect to MongoDB server on Droplet from my computer. ( via SSH tunneling and vie URL). I check and see CPU ( of the Droplet ) utilizes only 6%, Top Disk IO is 0.3M/s. I achieved very low writing speed to Droplet, 12000 documents in 936 second, around 12 documents per second. My document is very short: just one term ( 1 word or 2 words ) and one explanation ( usually 1 short sentence). Where should be the problem ?
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Hello,
I could suggest starting with some MongoDB optimizations.
What you could do is follow the steps from the official MongoDB documentation on how to optimize the write operation performance:
https://docs.mongodb.com/manual/core/write-performance/
Regards, Bobby
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.