Link Details

Link 51652 thumbnail
User 226267 avatar

By arsenalist
via arsenalist.com
Published: Nov 06 2007 / 18:46

How would you dig it if someone randomly restarted your application every few minutes or so for absolutely no reason? Would you be upset, angry or plain confused on why an application server would bother recycling an application at seemingly random intervals without being prompted. See, just like the Servlet specification defines the ServletContextListener interface, it’s .NET counterpart happens to be Global.asax which defines application lifecycle methods like Application_End, Application_Start and such. A pretty sensible idea when you look at the surface of things but what’s horribly, horribly wrong is that......
  • 8
  • 6
  • 2658
  • 1101

Comments

Add your comment
User 238564 avatar

FlySwat replied ago:

1 votes Vote down Vote up Reply

Absolute FUD nonsense.

First of all, you can easily set when you want the application pool to recycle within IIS.

Second, the process only recycles if the server has been sitting dormant. This means your not going to have it recycle while someone is using it, which means that you will not lose any important session data. If you are storing data in sessions that you want to persist for long spans of time then you are a poor architect, regardless of what server you are using. Long term data should not ever be stored in sessions.



User 238564 avatar

FlySwat replied ago:

1 votes Vote down Vote up Reply
User 209827 avatar

evarlast replied ago:

0 votes Vote down Vote up Reply

not to mention this has VERY little to do with IIS and everything to do with ASP.NET worker processes.

the same concepts apply to Cassini, mod_mono, and XSP

Add your comment


Html tags not supported. Reply is editable for 5 minutes. Use [code lang="java|ruby|sql|css|xml"][/code] to post code snippets.