Create a Python script to insert 50MM in the document in MongoDB
$40-70 USD
착불
Description:
Create a Python script to insert 50MM in the document in MongoDB, the simulation should be running MongoDB in your local computer using Vagrant to create the MongoDB Server on Linux Centos 7, and from your local computer run the python script 5-times, one per CPU Core.
Each process/running in the CPU Core will insert 10MM.
1-python_script x 5-CPU_Core x 10MM document = 50MM document in MongoDB.
Delivery:
#1 - VagrantFile with MongoDB installed (Documentation of how run or operated Vagrant should be not required at all, we already are using Vagrant).
#2 - Python script with the next folder structure:
test_performace_python
- [login to view URL] = connection to mongo in a different python class.
- [login to view URL] = configuration with hostname, username, password, port to connect.
- [login to view URL] = main class to run the program.
#3 - 1 document with the Printscreen/No documentation just title of:
- how look the /data/db before the 50MM insert and after the 50MM of the insert "df -h /data/db"
- how look the CPU executing the python script "htop"
- how look the command you wrote for exec 1 script in 5 CPU Core.
in total, we spec 3 pages, 1 image per page.
- how long time takes to execute the script. "time linux commad"
Note:
- Try to used clean code, we don't spec documentation in the code, code should be clean enough to be him self-documented.
- for declare variable or class name try to used Java Naming Conventions.
- Keep the dependency on the file [login to view URL]
프로젝트 ID: #26810221
프로젝트 소개
수상자:
I will use my database skills on mongoDB to complete the task according to the request and the client satisfaction