In this scenario, we are performing a MongoDB API test aimed at verifying compatibility, reliability, and performance across different implementations of the MongoDB document model. It's important to note that our focus is on the core product itself, and we are not evaluating or testing specific cloud providers. The purpose of this test is to validate the behavior of the MongoDB API when interacting with various MongoDB clones, taking into consideration potential differences in their underlying architecture or features.
pip3 install pymongo
git clone https://github.com/mongodb-developer/mongo-core-test.git
cd mongo-core-test
git clone https://github.com/mongodb/mongo.git
python3 run.py [5 or 7]
docker compose -f mongo5.yml up -d
docker compose -f mongo7.yml up -d
docker compose -f maxscale.yml up -d
docker compose -f ferret.yml up -d
Product Tested | vs MongoDB 5.x | vs MongoDB 7.x | Works with Compass |
---|---|---|---|
MongoDB 5.0.26 | 100% | 96.01% | :heavy_check_mark: |
MongoDB 7.0.7 | 100% | 100% | :heavy_check_mark: |
SingleStore Kai™ | 46.96% | 45.85% | :heavy_check_mark: |
FerretDB 1.20.1 | 37.42% | 36.34% | :x: |
MariaDB MaxScale 23.08.4 | 33.19% | 31.93% | :x: |