You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+5-5Lines changed: 5 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
-
# MongoDB Workload Generator
1
+
# Workload Generator for MongoDB
2
2
3
-
MongoDB Workload Generator was designed to help MongoDB users effortlessly generate data and simulate workloads for both sharded and non-sharded clusters. The generated workloads include standard CRUD operations, reflecting real-world usage patterns of a MongoDB environment.
3
+
Workload Generator for MongoDB was designed to help MongoDB users effortlessly generate data and simulate workloads for both sharded and non-sharded clusters. The generated workloads include standard CRUD operations, reflecting real-world usage patterns of a MongoDB environment.
4
4
5
5
Additionally, the tool supports the creation of realistic workloads by incorporating all CRUD operations through a set of queries that simulate common usage scenarios. Users can also define custom queries to run against collections created by the tool, further enhancing its flexibility and applicability.
6
6
@@ -20,13 +20,13 @@ The tool consists of 4 files:
20
20
*[mongodbWorkload.py](mongodbWorkload.py)
21
21
*[app.py](app.py)
22
22
23
-
The only required configuration is in [mongodbCreds.py](mongodbCreds.py), where you define the connection details for your MongoDB cluster. The file is self-explanatory and includes examples to help you set up your environment correctly. You may also extend this file to include additional parameters as needed.
23
+
The only required configuration is in [Creds.py](Creds.py), where you define the connection details for your cluster. The file is self-explanatory and includes examples to help you set up your environment correctly. You may also extend this file to include additional parameters as needed.
24
24
25
25
Custom queries can be defined in [mongodbLoadQueries.py](mongodbLoadQueries.py), but this is not a requirement. When adding new queries, ensure they target existing collections and fields generated by the tool to avoid runtime errors.
26
26
27
27
#### Pre-reqs
28
28
29
-
MongoDB Workload Generator relies on a few additional Python libraries that are not included by default. To ensure proper functionality, please install the following dependencies:
29
+
Workload Generator for MongoDB relies on a few additional Python libraries that are not included by default. To ensure proper functionality, please install the following dependencies:
30
30
31
31
-[faker](https://pypi.org/project/Faker/) – Used to generate random fictional data, ideal for bootstrapping databases, stress testing, and creating randomized datasets.
32
32
-[joblib](https://joblib.readthedocs.io/en/stable/) – Enables parallel execution of tasks by leveraging multiple CPU cores.
@@ -99,7 +99,7 @@ You can customize various aspects of the workload, such as execution time, the n
0 commit comments