Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsEventsEventsspeed issues with Event viewsspeed issues with Event views
Previous
 
Next
New Post
2/11/2010 8:47 AM
 

using events 5.0.2 and dnn 4.9.1

I'm having issues with the speed of the event views.

When enabling "Tooltip", the time to load the module goes up 30+ seconds.

Without the Tooltip, both Month & Week views load in 6 or 7 seconds, which is still long, but more or less acceptable.

The list view still loads for 15 seconds.

When I filter out the data (list view settings, selected days) to return only 1 or 2 records, the module loads in 2 or 3 seconds. When about 10 records are returned in the grid, the loading takes 8 seconds, when 50 records are returned, it takes 15 seconds or something.

I know a bit of SQL, and I've caught the procedure call with SQL Profiler, "EventsGetByRange", and ran it on the DB seperately. However the results always run in 1 or 2 seconds max, so I don't think the database connection is the problem.

 

So I have 2 questions,;

- why does the "tooltip" function have such a great impact on the events module performance, and what can I do about it?

- why does list view load so slow for me?

 

If you need any more information, ... please, ask away

Thanks in advance,

kind regards,

Dieter

 
New Post
2/11/2010 1:01 PM
 

You could try using a page speed tester, I've got a link for one at home. This may help identify what is taking the time on the page load, such as whether there is a significant amount of graphics or the like. When you enable tooltips, it will essentially double the page content, since the whole of your description is loaded into the tooltip - though you can limit this in 5.0.3.

Perhaps you could point us at a url, so we can see the performance and investigate.

Cheers
Roger


DNN MVP
Events - Get the latest version - Upgrade now!!
Feedback 6.4.2 - Now available - Give it a go!
Find us on Codeplex - DNN Events, DNN Feedback
Requirements/Bugs - Please submit them on Codeplex
 
New Post
2/12/2010 3:44 AM
 

Thank you for your reply,

I've tried to create a simulation of the problem, and while investigating, I think there might be a problem with concurrent users.

Please try the following:

- to start with, a page without the events module:

http://revalidatieziekenhuis.keigrp.b... 

This page loads in 1 or 2 seconds (Of course, this might be different where you live)

When you load this page in internet explorer, and copy the URL over 20 tabs (ctrl-K for easy shortcut), and reload all tabs all at once, you can see they all load in the SAME 1-2 seconds.

- then try to load this page: (on the same dnn installation)

http://intranet.keigrp.be/tabid/409/l...

This page loads in about 3-5 seconds.

When you load this page in 20 tabs at the same time, you will see that instead of all the loading taking 3-5 seconds, they seem to be waiting for each other. The last page that loads probably took 50 seconds to load, instead of 5 seconds.

I understand that a single page load takes longer when another page is loading somewhere else, but I think it's more than that.

 

Maybe you could shed some light on this?

Thanks in advance,

Dieter

 
New Post
2/12/2010 9:48 AM
Accepted Answer 
I've done some digging in to this at a database level. I noticed that a number of 'unnecessary' calls were being made, so I have removed these. Adding tooltips would have increased the number of these calls. These changes will be in the 5.0.4 release. One thing I could note between your two pages. The one without the events module is all HTML modules by the look of it, which are probably cached. The Events module does not currently support caching, so it could be that the delay is due to this. I can't be 100% sure, but is probably me next best guess. I don't believe the code performance would significantly impact the speed of the page (but then I'm not an expert). I don't believe that in list view there are large numbers of loops that may cause delay.

DNN MVP
Events - Get the latest version - Upgrade now!!
Feedback 6.4.2 - Now available - Give it a go!
Find us on Codeplex - DNN Events, DNN Feedback
Requirements/Bugs - Please submit them on Codeplex
 
New Post
2/12/2010 10:27 AM
 

Thanks,

First, will this 5.0.4 release work for dnn 4.9 ?

And secondly, I saw something in the database while looking for a solution. I don't know much about asp.net, but I do know something about SQL, and I saw that the stored procedure "EventsGetByRange" is built up using a string variable.

One thing I remember from being a database administrator (years ago) is that it's never wise to build up complicated queries using varchar variables. Normally, when running a sql or stored procedure, sql server caches & optimizes the query plan according to the indeces and what sql server thinks is the fastest approach to get the result. Maybe this changed, but as far as I know this doesn't happen when you build up a query using a varchar string, then, sql server can't "analyze" the query.

I don't know if this tip will help, it might be worth looking into.

Thanks again.

Dieter

 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsEventsEventsspeed issues with Event viewsspeed issues with Event views


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out