Configure Maximum Requests in IIS Express

How to configure the maximum number of requests allowed in IIS Express?

I would like to modify this to allow multiple requests to check what happens when it exceeds the limit.

+4
iis-express
Jan 04 2018-12-12T00:
source share
2 answers

IIS Express can be configured using the applicationHost.config file. It is located in %userprofile%\my documents\IISexpress\config

Open this file in a text editor. The <sites> element is located in the <system.applicationHost> section. In this case, you will find the <site> element for each site hosted in IIS express. Find the item that matches your site. Add the <limits> element as shown below.

 <sites> <!-- Other sites --> <site name="YourSiteName" id="YourSiteId"> <!-- Existing elements --> <limits maxBandwidth="65536" maxConnections="1024" connectionTimeout="00:01:00" /> </site> <!-- Remaining sites --> </site> 

You can set the maxConnections parameter to the required number of requests.

This should work, although I have not tested it.

+5
Jan 04 2018-12-12T00:
source share

Now this is a difficult question to answer. The number of requests that the server can process depends on the server, central processor, and RAM on which it was placed. By default, IIS supports unlimited connections. However, you can perform stress testing to find out how much load this server can take. Use the load balancer later to transfer the excessive load to another IIS server.

You can always filter queries in IIS. Watch it

0
Jan 04 '12 at 17:57
source share



All Articles