The server has the following configuration:
- Processor: 2
Intel L5520, 2.27 GHz, Cores: 4, Threads: 8 - RAM:
24 GB - OS:
Windows 8.1 (к сожалению клиентская ОС) - IIS:
8.0
The application is built on ASP.NET MVC, 500 accounts are created.
Day 1
At 8:00, all 500 users had to log in and download the file.
<a href="~/Files/РУ_2_кл_Ключи.doc">РУ_2_кл_Ключи</a> At this point, the site began to slow down and eventually completely "sat down."
There were many offers on the network and all of them mainly concerned the optimization and tuning of the IIS server.
I have no experience administering web servers, I always focused on coding - I thought setting up servers was a secondary responsibility of a programmer-developer. And so I tried to solve the problem using asynchronous controllers (although in the application there are only 2 controllers) . And it did not give results.
One of the first IIS settings I made and what had the effect was to increase the maximum number of simultaneous requests in the application ( appConcurrentRequestLimit ):
cd% windir% \ system32 \ inetsrv
appcmd.exe set config /section:system.webserver/serverRuntime/appConcurrentRequestLimit:20000
The site immediately sighed and the users seemed to be able to download this file. Has ceased to slow down. And it seemed to me the problem was solved.
Day 2
Today again at 8:00, all users rushed to download another file and the same situation.
I increased the appConcurrentRequestLimit to 90000 - to no avail.
Now, although there is no time for this, I sit and study the architecture of IIS . Everything is so confusing. What should I do? So far there is little that I understand from the read.
500 KB. True Internet channel is small -20 Mbit- Adam