U4-603 - Sorting thousands of nodes fix

Created by Sebastiaan Janssen 19 Aug 2012, 14:54:55 Updated by Sebastiaan Janssen 08 Sep 2013, 16:43:54

Umbraco v 4.7.1.1

Sorting hundreds of nodes causes the server to hang, and newer finish the actual sorting task. This is caused by umbraco's library.UpdateDocumentCache(int DocumentId) method which internally loads and clones the entire contentxml cache, for each document/node at the sorting level.

I have added a patch that will use a different method umbraco.content.UpdateDocumentCache(List Documents); which only loads the contentxml once, per sorting request.

Possible dublicates/similar issues: http://umbraco.codeplex.com/workitem/29526 http://umbraco.codeplex.com/workitem/30615

Another performance update is to disable the SiteMapProvider, if it is not used, see: http://our.umbraco.org/forum/using/ui-questions/16631-SiteMapProvider-Error-in-Log http://our.umbraco.org/forum/core/general/5717-Disabling-sitemap-provider-throws-exception Disabling the SiteMapProvider will speed up publishing and sorting.

''Originally created on CodePlex by [Stegelmann|http://www.codeplex.com/site/users/view/Stegelmann]'' on 7/9/2012 2:59:57 PM [Codeplex ID: 30895 - Codeplex Votes: 3]

Comments

Sebastiaan Janssen 08 Sep 2013, 16:43:52

We've made quite a few improvements in the past months, should be much better now.


Priority: Normal

Type: Bug

State: Closed

Assignee:

Difficulty: Normal

Category:

Backwards Compatible: True

Fix Submitted:

Affected versions:

Due in version:

Sprint:

Story Points:

Cycle: