Home  >  Article  >  Backend Development  >  网站有100万人同时在线,并发为100万,PHP的数据库连接对象就有100万个,问题来了?

网站有100万人同时在线,并发为100万,PHP的数据库连接对象就有100万个,问题来了?

WBOY
WBOYOriginal
2016-06-06 20:22:511565browse

网站有100万人同时在线,并发为100万,PHP的数据库连接对象就有100万个,PHP和apache的线程和进程分别是多少?

回复内容:

网站有100万人同时在线,并发为100万,PHP的数据库连接对象就有100万个,PHP和apache的线程和进程分别是多少?

php+apache大概需要1万台服务器

Statement:
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