Skip to content

beastpu/mongodb-stress-test

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

mongodb-stress-test

requirments

please install packages and replace varibles with your mongodb environment

user, password = "***","***"
uri_1 = "s-***.mongodb.rds.aliyuncs.com:3717"
uri_2 = "s-***.mongodb.rds.aliyuncs.com:3717"

running

insertOne.py use process + gevent to test insertOne operation.
insertMany.py user multiProcess to test batch insert operation

result

mongodb:

  • 2 shard(each:4c8g)
insert: 10k rps
batch inset: 20k rps

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages