Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Deployment files
Message
 
À
22/06/2007 19:34:19
Timothy Bryan
Sharpline Consultants
Conroe, Texas, États-Unis
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Versions des environnements
Environment:
C# 2.0
Divers
Thread ID:
01235136
Message ID:
01235808
Vues:
12
When you say every time, what does that mean? Every hit or every time you get to the site?

Most likely what's happening is that your IIS Application Pool is unloaded. If that's the case IIS has to spin up a new Application Pool (an Exe), initialize it, Initialize ASP.NET then recompile your application adn then finally run it.

Once up however the application should run fast. I suspect if you have only those few precompiled files you indicate there should be nearly no overhead for JIT compilation...

All the slowness comes from first time load of the infrastructure.

Application Pools are by default configured to time out after 20 minutes which unloads the EXE that hosts the pool. This is configurable and you can set this to never time out. If you're hosted at an ISP though you won't have choice about this and they may actually have the timeouts set even lower to reduce resource usage. In that case you can set up some ping code (in ASP.NET itself to 'ping itself') or use an external tool to hit the site every few minutes to keep the application pool alive.

+++ Rick ---

>Hi,
>I am having an issue with a web that loads terribly slow every time you go there. It acts like it has to re-compile each time. I place files on the web server like this:
>
>\bin
>App_Code.dll
>App_Code.compiled
>App_global.asax.dll
>App_global.asax.compiled
>App_web_03h4vmsw.dll
>bunch others like the one above
>
>
>Root
>Web.config
>All the aspx files
>
>Am I doing something wrong or is there a to get it faster. I set it as my home page and it drives me crazy.
>Tim
+++ Rick ---

West Wind Technologies
Maui, Hawaii

west-wind.com/
West Wind Message Board
Rick's Web Log
Markdown Monster
---
Making waves on the Web

Where do you want to surf today?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform