-
-
Notifications
You must be signed in to change notification settings - Fork 102
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Updating a list of entities #127
Comments
Hi, I haven't thought this through at all, but yes, probably. Have a look at the line of GraphDiffer that's loading the persisted graph via |
I tried out this idea and it works great in my projects. A large batch process that updates thousands of complex graphs went from 34 to 2 minutes with a batch size of 100. I think I can downgrade to smaller Azure instances :-) This were my changes (see fork):
All existing tests run fine with my changes to |
@mk1024 I think it would be nice if you make a pull request with your changes;) |
Currently, if we want to use GraphDiff to update a list of entities, we can only do this in a loop. Is it efficient, given that each graph is loaded by a separate request to the database? Can we make it better if we load a list of entities by a single query?
The text was updated successfully, but these errors were encountered: