I've been giving this quite a bit of thought recently as I have a large load balanced site that imports around 1000 nodes at a time from a SalesForce instance and this approach is slow and costly but I can see no other way around it at the moment. It massively impacts the site because each publish action drops the cache and triggers all of the required event handlers (this is required but would rather it were performed in a single hit)!
What I would like to do is perform the updates and save changes then pass all Id's to a method that would bulk publish them but on last check this was not possible?
Bulk Updates
Hi All,
I have a particular Document Type with certain properties that I need to update as a bulk operation - what is the best and most efficient way?
Regards, L
You can use a package like CMS Import to do it all via the UI, or programmatically you can do something like this:
Is this really the most efficient way?
I've been giving this quite a bit of thought recently as I have a large load balanced site that imports around 1000 nodes at a time from a SalesForce instance and this approach is slow and costly but I can see no other way around it at the moment. It massively impacts the site because each publish action drops the cache and triggers all of the required event handlers (this is required but would rather it were performed in a single hit)!
What I would like to do is perform the updates and save changes then pass all Id's to a method that would bulk publish them but on last check this was not possible?
Further to my previous post and having read Stephen's comments here https://our.umbraco.org/forum/umbraco-7/using-umbraco-7/75657-deadlocks-and-disappearing-content - I am of the opinion that there is no safe way currently to bulk publish documents.
...but there is hope yet, I want to give Publication Queue a chance to see if it can help:
https://our.umbraco.org/projects/backoffice-extensions/publication-queue/
Simon
is working on a reply...