Asp.net| Skills | performance
Setting Connection Timeouts
Set Connection Expiration Time
Let's start by talking about why you set the connection expiration time.
Connection time-outs help to reduce the loss of processing resources consumed by idle connections. When you enable connection time-outs, IIS enforces the time-outs in the connection level.
Setting the expiration connection time reduces the consumption of system resources that are wasted in processing idle connections. When connection expiration is enabled, IIS will apply the expiration time to the connection level.
To set the connection expiration time:
IIS-Web Site-Property--connection timeout, type a time that indicates the maximum time that IIS has to handle idle threads, and the connection will be reclaimed.
Personally think the length of this connection time depends on the combination of the site's factors. If your site is slow then the expiration time needs to be set longer, otherwise the client has not completely downloaded the page connection is closed. If the site performance is better, then the connection is not necessary to set up so long, so some idle connection will occupy more system resources, early release of resources, so that the overall performance of the site upgrade, is to set the final connection failure time.