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...Anybody figure out how to speed up initial load times?Anybody figure out how to speed up initial load times?
Previous
 
Next
New Post
2/15/2006 6:11 PM
 

Hey all!

I know this has been posted several times, however, I don't see any conclusion...

When my DNN install starts up, it takes approx. 7 minute on a dual processor machine.  Does anybody know any way to increase the startup time?

Thx :)

 
New Post
2/17/2006 6:30 PM
 

Hi,

I guess I posted same question and the answer is "it is by design" that it loads all data and caches it for first time and hence it is slow .... Is this reasonable?? We shld ask Google to figure out some logic, comes guys this is not acceptable if you are loading it for first time or last time it is very impt to load faster ...

I have seen lots of .Net site and it loads faster why not DNN any Techie can explain this and make it faster I wld appreciate ...

 
New Post
2/18/2006 3:54 PM
 

That's just the nature of the beast guys.  It's some part DNN and some part the way the code gets run in IIS and some part the way .Net works.  Sites running JSP are the same.  There is an initial compile and caching of the code and from then on it's run from cache and not recompile each time.

There is also several different levels of caching going on.  There is the caching that DNN does (I'm not real sure about his part as I haven't looked at it really), IIS caching and then the .Net framwork caching.  All of which need tweaked and played with to find the optimal settings for your particular install. 

The BIG sites that are using asp .net and seem so fast work exactly the same way as DNN or any other .net or jsp sites.  They don't seem slow to you because they have been optimized to death, have hundreds of thousands of hits a day so the process doesn't have to restart, and the biggie is they are located in server farms where the chances of you being the first request for that particular page on that particular server to be the hit that restarts the server is just about as low as could be.

In the public beta testing days right after MSN was switched over to .Net I remember a few times were I had to wait awhile for the page to come up as they were just working on all the optimizations.


Paul Davis
 
New Post
2/18/2006 6:32 PM
 
InfoSourcing wrote

I have seen lots of .Net site and it loads faster why not DNN any Techie can explain this and make it faster I wld appreciate ...

If the ASP.Net worker process ( ie. your application pool ) is unloaded for any reason ( i.e. it goes to sleep, is recycled, etc. according to the settings in IIS ) the very next page request will require all this to be reloaded.  This is not a function of DotNetNuke, but of ASP.Net... we DO try to help folks with this, but I do hope folks understand that it is not a DNN dependency.

Even for folks with no ability to control this on their own server... we do provide a page ( keepalive.aspx ) which can be used to force your site to "keep alive".  It is a simple meta refresh to keep the worker process active in your site so that it won't time out.  Keep this page up in a brower somewhere and as long as your site isn't forcibly restarted ( by your host ), this will keep it in memory.

Cheers


Scott Willhite, Co-Founder DNN

"It is only with the heart that one can see rightly... what is essential is invisible to the eye. "
~ Antoine de Saint-Exupéry

 
New Post
2/19/2006 6:20 PM
 

Thanks for all of the responses!

What I was really looking for is if somebody has done something such as enabled a method that allows you to compile everything DNN in advance, store that in a staging ground (written to disk), and then read from the staging ground every time DNN would typically compile.  This way, as long as you make no changes, your startup times should be near-instantaneous (as fast as your disk reads?) as you would not have to go through the compile phase over and over again.

But yes, server farms are quite efficient.

 
Previous
 
Next
HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...Anybody figure out how to speed up initial load times?Anybody figure out how to speed up initial load times?


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