Hey @Alex_Kotomin,
Welcome to the MongoDB Community!
Could you please provide more specific details about the version (such as 4.0.x) you’re using and the deployment configuration of both versions you have in place?
Based on the above information, it seems like you’re comparing a MongoDB v7.0 standalone instance with a MongoDB v4.0 3-member replica set. May I ask if there’s a specific reason for this particular comparison?
It appears to me that the comparison is not entirely balanced or equivalent in terms of the deployment configurations being considered. Therefore, I suggest that you test both versions by running them with run-rs.
However, it would be helpful if you could share more insights into your use case and the workflow you’re following. Additionally, please specify the language drivers and its version that you are testing with, and let us know whether you are using the same code to run these tests. This information will help us to assist you better.
Looking forward to your response.
Best regards,
Kushagra