Search
Home IIS.NET Forums IIS 7 & IIS 8 Performance IIS 7.5 slow to response first time a ASP.NET application
Last post Jan 31, 2012 12:50 PM by HCamper
8048 Posts
Jan 31, 2012 11:22 AM|LINK
Hi wender,
The request delay is more than 2 seconds. The status code 200 not an error it the request and GET was a sucess.
The FRT xml file may be hard to analyse agreed.
I suggest first draw pencil and paper a state machine diagram it will help in the analyse.
State machine using html and php.
http://blog.markwshead.com/869/state-machines-computer-science/ state machine using html and php.
A reference http://en.wikipedia.org/wiki/Finite-state_machine State Machines.
The problems maybe the analyse and the code and operations: The first time you invoke the ASP.NET application. What is the order of events ? The server delay to response. Where is this event and how to measure ? The initial page of application. When does this occur order of events how does the code operate ? You dont access any database. You have an event to get data a service the order is ? The other accesses. The events and order as part of the total state of operations ? The server response normally. Which event and order of request(s) using GET is there a way to check ? How to improve the Total Time the Events from first request in side the State Machine using triggers and events. From my understanding the State Machine is the Model to use the Pattern of Events and Triggers for requests can drawn as a diagram to help explain the chain of operations. Which is the first Event and Request the State diagram can help in the analyse.
The problems maybe the analyse and the code and operations:
The first time you invoke the ASP.NET application. What is the order of events ?
The server delay to response. Where is this event and how to measure ?
The initial page of application. When does this occur order of events how does the code operate ?
You dont access any database. You have an event to get data a service the order is ?
The other accesses. The events and order as part of the total state of operations ?
The server response normally. Which event and order of request(s) using GET is there a way to check ?
How to improve the Total Time the Events from first request in side the State Machine using triggers and events.
From my understanding the State Machine is the Model to use the Pattern of Events and Triggers for requests
can drawn as a diagram to help explain the chain of operations.
Which is the first Event and Request the State diagram can help in the analyse.
Can you add the missing parts ?
HTH
Martin
6 Posts
Jan 31, 2012 12:29 PM|LINK
Martin,
Still on the slow, strangest of all is that any account created locally and with minimal privilege runs the pool quickly. Only the identity ApplicationPoolIdentity is that it is slow.
Why does it happen just by running this identity? What it's different?
Wender
Jan 31, 2012 12:50 PM|LINK
Hi Wender,
The "Application Pool " the IIS Server uses the account created locally for the Windows System and is local system only.
There are the Built-in Accounts are IUSR IIS_IUSRS minimal privilege runs the pool quickly.
http://learn.iis.net/page.aspx/110/changes-in-security-between-iis-60-and-iis-7-and-above/ changes
improvements http://learn.iis.net/page.aspx/139/iis7-and-above-security-improvements/
The difference is Local System and built-in accounts. And the use of Network resources.
http://learn.iis.net/page.aspx/140/understanding-built-in-user-and-group-accounts-in-iis/ Built-in Accounts and users.
The identity ApplicationPoolIdentity is that it is slow."
Is this the "Network\Service" account ?
Why does it happen just by running this identity" What it's different ?
Get Fiddler 2 http://fiddler2.com/fiddler2/ do the configuration and start looking at the raw requests.
http://fiddler2.com/Fiddler/help/hookup.asp
Get Wfetch http://support.microsoft.com/kb/284285 guide or
installer http://www.microsoft.com/download/en/details.aspx?displaylang=en&id=21625 to simulate your code requests
at the IIS Server.
The fiddler 2 and wfetch can be used to test and verify the requests and operations.
I hope this helps the understanding :D.
HCamper
8048 Posts
Re: IIS 7.5 slow to response first time a ASP.NET application Perf-State-Machines
Jan 31, 2012 11:22 AM|LINK
Hi wender,
The request delay is more than 2 seconds. The status code 200 not an error it the request and GET was a sucess.
The FRT xml file may be hard to analyse agreed.
I suggest first draw pencil and paper a state machine diagram it will help in the analyse.
State machine using html and php.
http://blog.markwshead.com/869/state-machines-computer-science/ state machine using html and php.
A reference http://en.wikipedia.org/wiki/Finite-state_machine State Machines.
Can you add the missing parts ?
HTH
Martin
Community Member Award 2011
wender.macha...
6 Posts
Re: IIS 7.5 slow to response first time a ASP.NET application
Jan 31, 2012 12:29 PM|LINK
Martin,
Still on the slow, strangest of all is that any account created locally and with minimal privilege runs the pool quickly. Only the identity ApplicationPoolIdentity is that it is slow.
Why does it happen just by running this identity? What it's different?
Wender
HCamper
8048 Posts
Re: IIS 7.5 slow to response first time a ASP.NET application
Jan 31, 2012 12:50 PM|LINK
Hi Wender,
The "Application Pool " the IIS Server uses the account created locally for the Windows System and is local system only.
There are the Built-in Accounts are IUSR IIS_IUSRS minimal privilege runs the pool quickly.
http://learn.iis.net/page.aspx/110/changes-in-security-between-iis-60-and-iis-7-and-above/ changes
improvements http://learn.iis.net/page.aspx/139/iis7-and-above-security-improvements/
The difference is Local System and built-in accounts. And the use of Network resources.
http://learn.iis.net/page.aspx/140/understanding-built-in-user-and-group-accounts-in-iis/ Built-in Accounts and users.
The identity ApplicationPoolIdentity is that it is slow."
Is this the "Network\Service" account ?
Why does it happen just by running this identity" What it's different ?
Get Fiddler 2 http://fiddler2.com/fiddler2/ do the configuration and start looking at the raw requests.
http://fiddler2.com/Fiddler/help/hookup.asp
Get Wfetch http://support.microsoft.com/kb/284285 guide or
installer http://www.microsoft.com/download/en/details.aspx?displaylang=en&id=21625 to simulate your code requests
at the IIS Server.
The fiddler 2 and wfetch can be used to test and verify the requests and operations.
I hope this helps the understanding :D.
Martin
Community Member Award 2011