mongo_bench: A benchmarking tool for MongoDB

The tool performs both read and write tests (using insert() and find()). Test data is generated by the tool based on the number of ‘str_cnt’ defined i.e. 1 … n UUID string elements are created depending on the ‘str_cnt’ defined. The tool will measure the time taken for each read / write operation and provide statistics upon completion (including both average query time and queries per second).

The number of documents to be written and read can also be defined (in the ‘documents’ variable) as well as the number of concurrent connections that should be created by the process. Currently all options need to be defined within the script.

https://github.com/pondix/mongo_bench

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s