php高并发应当用Apache还是IIS

WBOY
Release: 2016-06-13 13:08:51
Original
1484 people have browsed it

php高并发应该用Apache还是IIS
php高并发应该用Apache还是IIS好?

另外我现在的项目有个问题
使用Apache时并发数60左右操作MySQL数据时,MySQL数据处理速度会变慢
使用 IIS 时并发数60左右操作MySQL数据时,MySQL数据处理1分钟内死掉

每次连接访问都操作MySQL数据库,不知道如何是好!

------解决方案--------------------

探讨

引用:
高并发的话 没有测试过但是linux下的性能表现应该优于winnt

至于60个左右你就挂了,我想问题可能出在你的代码上.60个对服务器来说简直就是可以无视的数目

每次访问都操作数据库 是读 还是操作....如果是读可以做缓存 如果是操作 可以定时批量更新 等等


有读,有写,有修改. 您说的缓存和批量更新怎么实现呢?
Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!