Per Nergård
Jan 28, 2017
  2002
(2 votes)

Lots of pages below the same parent and how it effects load time

I guess everybody knows that having to many child pages under the same parent is bad for performance. But exactly how bad and where is the limit.

Since it's now so easy to create your own object and save it to Episerver it can be an option instead of using the DDS. So I decided to do a quick hack to see what type of performance I got on med development virtual machine when having lots of pages below the same parent.

If you aren't aware that you can easily store your own objects in Episerver and manipulate them in the same way you would do with pages read more about it in the docs.

Below is a screen dump of my test after a fresh IIS reset. Call times are in milliseconds. 

Image loadtimes.jpg

Jan 28, 2017

Comments

Jan 28, 2017 01:45 PM

Hmm yeah. I can't really see the purpose of the DDS. Probably better to spend that development time at Episerver on storing generic content better/easier using the normal IContentRepository.

Feb 1, 2017 10:22 AM

Wonder what the load time would be in an alternative like entity framework? Personally I feel the added extras you get in the UI with IContent simplify feature development.

I guess if you have more than 10,000 entities it becomes noticeable. This is where better management in hierarchies would improve performance. If that's not possible you could always write some "warmup"scheduled job or initialisation to make the Get Children requests so the objects are already cached.

Please login to comment.
Latest blogs
Vulnerability in EPiServer.GoogleAnalytics v3 and v4

Introduction A potential security vulnerability was detected for Optimizely Google Analytics addon (including EPiServer.GoogleAnalytics and...

Bien Nguyen | Sep 20, 2023

Overriding Optimizely’s Content Recommendations Block to Implement Custom Recommendations

Introduction The Content Recommendations add-on for Optimizely CMS dynamically recommends content from your site tailored to the interests of each...

abritt | Sep 13, 2023 | Syndicated blog

Developer contest! Install the AI Assistant and Win Bose QC45 Headphones!

We are thrilled to announce a developer contest where you have the chance to win a pair of Bose Headphones. The goal is to be the first developer t...

Luc Gosso (MVP) | Sep 7, 2023 | Syndicated blog

Send Optimizely notifications with SendGrid API, not SMTP

If your Optimizely site already sends transaction emails through an email platform API, why not do the same with Optimizely notification emails?

Stefan Holm Olsen | Sep 6, 2023 | Syndicated blog