XML Page Providers and Performance with > 500 XML Files

Vote:
 

I've implemented the XML Page Provider and it's been working pretty good for a few months now. We've decided to have a solution where every page has it's own folder, containing the XML declation and associated files for download.

Shortly the number of pages/xml-files will increase from 100 to several thousand, so I've started to do some performance testing. Unfortunately once I've added more than 500 XML files the performance as dramatically low, and the site hardly loads at all.

I've read the article on http://world.episerver.com/Blogs/Ben-Morris/Dates/2009/10/Developing-EPiServer-page-providers-optimizing-performance/

We are using the FindPagesWithCriteria() quite a lot, so can anyone help us with caching and general performance increase?

Regards

Jakob

#42871
Sep 03, 2010 13:58
Vote:
 

You probably answer the performance issue by yourself when you said “that you use FindPagesWithCritera a lot”, don’t do this or cache the result (as you say) I have written a minimal blog entry how to use the EPiServers cache functionality in EPiServer version 5 and later

http://world.episerver.com/Blogs/Mattias-Lovstrom/Dates/2010/7/Caching-object-EPiServer-is-easier-then-you-probably-think/

#42885
Sep 06, 2010 10:14
Vote:
 
#42891
Sep 06, 2010 12:22
Vote:
 

Great article Steve, it probably should be in the SDK!

But how is your FindPageswithCriteria for your XML page provider written(is it going throw every XML file and looking for properties – it can be extremely heavy)?

#42893
Sep 06, 2010 14:03