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
{{ message }}
This repository has been archived by the owner on Feb 22, 2020. It is now read-only.
Hey bud, I've been using MongoRepository for a long time and I LOVE it! It simplifies coding for MongoDB in .NET significantly.
However, there is a fundamental problem with it that greatly hinders scalability. See, the only way you handle updates is by updating the entire document in the database instead of only the properties that have changed. This is extremely wasteful because it uses more bandwidth than necessary to push an entire object, but it also forces the database to re-index the entire collection because the object has been replaced instead of updated.
Do you think this is something you can implement in MongoRepository? I would really appreciate it if you could. Maybe you can have something that tracks changes made to the models, and when "Update()" is called, it will only update the changed properties instead of replacing the entire object.
The text was updated successfully, but these errors were encountered:
Hey bud, I've been using MongoRepository for a long time and I LOVE it! It simplifies coding for MongoDB in .NET significantly.
However, there is a fundamental problem with it that greatly hinders scalability. See, the only way you handle updates is by updating the entire document in the database instead of only the properties that have changed. This is extremely wasteful because it uses more bandwidth than necessary to push an entire object, but it also forces the database to re-index the entire collection because the object has been replaced instead of updated.
Do you think this is something you can implement in MongoRepository? I would really appreciate it if you could. Maybe you can have something that tracks changes made to the models, and when "Update()" is called, it will only update the changed properties instead of replacing the entire object.
The text was updated successfully, but these errors were encountered: