Test environment:
Server: X86 pcserver total 6 units
CPU: Single 8-core
Memory: 64G
Disk: RAID 10
Operating system: CentOS 6.5
mongodb:3.0
Java Driver: 2.13.0
jdk:1.6
Network: Gigabit Ethernet
Test One:
Single Monodb service, one with configuration server as a pressure server, the amount of data does not exceed the size of memory.
The MongoDB configuration is as follows:
Fork = True
bind_ip=10.10.130.33
Port = 10000
DBPath =/data/db
LogPath =/data/log/log_m.txt
Pidfilepath =/data/pid/pid_m.txt
Journal = True
Storageengine = Wiredtiger
Scenario One: 1000 characters per document, 10 threads written at the same time.
Write an average of 22,413 documents per second.
The old version (MongoDB2.4.4) results as follows:
Write an average of 16,771 documents per second.
Conclusion: 1k document writing improves performance by 34%. 93% less disk space usage.
Scenario Two: 10K characters per document, 10 threads write at the same time.
Write an average of 9,038 documents per second.
Old version test (MongoDB 2.4.4):
An average of 8,268 documents are written per second, and the insertion speed is erratic.
Conclusion: 10k document writing improves performance by 10%. 87% Less disk space usage.
Test One:
Single Monodb service, one with the configuration server as a pressure server, the amount of data does not exceed the memory size, the document is 35K byte group.
Test results:
Write an average of 2,588 documents per second.
Old version (MongoDB 2.4.4):
write an average of 2,261 documents per second. The insertion speed is not stable
Conclusion: 35k document writing improves performance by 15%. 91% less disk space usage.
Summary: The new version has greatly improved the control of disk space.
Individual insert performance is not improved, but the speed of insertion is significantly more stable.
Because of the document-level locks provided by the new engine, there should be a big boost in the mode of INSERT, update, and query blending.
Test two will test the single-machine blending mode
Test three will test the Shard pattern
mongodb3.0 Performance Test Report One