Performance Optimization - How to optimize apache under windows, improve concurrency, and withstand more access? (Production Environment)
仅有的幸福
仅有的幸福 2017-05-16 17:04:03
0
2
701

Due to historical reasons, our system is deployed on windows server and apache is used as a web service. and cannot be replaced.
Current situation: Another department pushes data to our system through API, we receive the data and then store it in the database.
The problem encountered is: the amount of data pushed is large and there are many requests, which causes apache to be blocked and the web system page cannot even be opened. Most of the time, after restarting apache, it dies again within half a minute.

How to deal with and optimize under the existing environment configuration? Use a queue?

仅有的幸福
仅有的幸福

reply all(2)
phpcn_u1582

The performance of apache under win is much worse than that under Linux. If you really want to optimize, 1: Install an fcgid module and call php through fastcgi 2: Lighten the PHP framework, remove ORM, etc., evaluate the number of visits to the existing system, and evaluate the maximum load capacity of the existing system. Use pressure tools such as webbench, jmeter, etc., and add machines when appropriate

滿天的星座

Apache does not need to be optimized under windows, because if it is under windows, it must be iis

Don’t take mistakes as mistakes, otherwise you will go further and further down the wrong road

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template