/mongodb-multiprocessor-insert-test

Python script capable of inserting millions of random documents into mongoDB

Primary LanguagePython

PyPI - Python Version || GitHub last commit

mongoDB Multiprocessor Insert Test

But why?

I just wanted to have script, which could test load a std. mongoDB instance on a single core virtualbox VM running Ubuntu 22.04.

This code sucks

Yeah, maybe....but it works for my use case. Feel free to adapt it to your own preferences & projects.

Running this

python3 insert.py

You need to install halo.

pip3 install halo

Read more and see it in action?

Wait no more Rinzler.dk

Caution

NO ....do not use it in your production environment! This is for lab work and testing ONLY!

Enjoy