How to speed up MongoDB Inserts/sec?
Writes to MongoDB currently aquire a global write lock, although collection level locking is hopefully coming soon. By using more threads you’re likely introducing more concurrency problems as the threads block eachother while they wait for the lock to be released. Indexes will also slow you down, to get the best insert performance it’s ideal … Read more