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

HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...Slow loading first time - how to address issue with clientsSlow loading first time - how to address issue with clients
Previous
 
Next
New Post
11/15/2006 10:50 AM
 
I'm hoping to get some advice on how to deal with ASP.NET's compile lag time in regards to clients, or potentially losing clients or getting fired for using .NET & DNN. If anyone wants to take a shot at my 5 points below -- I believe this covers all the issues.

A client sent me an email today:

Jason, that took forever to load.  The first time I went to www.xxx.com it did not load at all, then went to xxx.com and it finally loaded.

1. One thing I'm concerned about is "did not load at all?" I have seen this with DNN, but I figure a timeout is acceptable the first time going to it. Once a website gets visitors it's not a problem.

2. But, what about that 1000th customer that happens to hit the website when a change is made or when the app pool recycles every 2700 minutes? I don't think even keep alive programs can prevent this?

3. Also, this is disconcerting (embarrassing) when clients I set-up a new DNN site for is ALWAYS getting this 30-60 second lag (since there is no traffic). This is hard to explain away!

4. Another issue though is Intranet websites where maybe you only have 30 employees. I can see this Intranet not getting used that often and seeing waiting for the .NET app to compile.

5. I did a search on Microsoft's knowledge base, but didn't find anything under "slow" and ".NET." It would be great to get a resource I could link the client to. I'm betting my career in the hands of DNN and .NET.

Jason Honingford - Web & Software Developer
www.PortVista.com
 
New Post
11/15/2006 12:12 PM
 

 

This is being worked on for the 4.4 release of DNN (the performance release).  You'll see one release before that 3.3.6 & 4.3.6 (the maintenance release) which should be out very soon.


DotNetNuke Modules from Snapsis.com
 
New Post
11/15/2006 12:46 PM
 
What do you mean by being worked on? Reducing the initial "JIT" compile time to a split second? I didn't know that were possible even with .NET 2.0. This would solve the problem, but I think you're just talking about overall performance. There will always be about a 20 second hit when the app first loads.

I'm also wondering under normal traffic conditions how many visitors get this compile lag hit per day. Wouldn't it stall for a visitor after the app pool recycles, which is like every 30 hours?

Jason Honingford - Web & Software Developer
www.PortVista.com
 
New Post
11/15/2006 1:26 PM
 


There are several factors that determine how long it takes for an ASP.Net app to startup.  One of them being the number of assemblies in the /bin folder.  The amount of code that has to be JIT compiled is another.  As a test, you can create a simple web app that only has a default webform and measure how long it takes for that app to startup.   Smaller apps don't take 20 seconds to startup depending on other circumstances like file i/o, cpu usages and speed, etc. of course.  So one of our goals is to delay taking the hit for startup all at once. 

As for app pool recycles, and other conditions that cause an app restart.  If you are using a keep-alive service, then the more often it is polling the better the chances are that it will be the one that "sees" that initial startup, so your next visitor to the site will be spared the frustration.

There are lots of other optimizations you can make too.  Like loading your content from disk after an application restart instead of having to make hundreds of database calls to get that same content.

PageBlaster helps  tremendously on that last item.


DotNetNuke Modules from Snapsis.com
 
Previous
 
Next
HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...Slow loading first time - how to address issue with clientsSlow loading first time - how to address issue with clients


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