linux - Is there any relationship between the number of php connections and the number of mysql connections?
高洛峰
高洛峰 2017-05-16 13:02:59
0
2
555

php apache mysql How do they establish connections between them? Does the number of connections affect each other?

高洛峰
高洛峰

拥有18年软件开发和IT教学经验。曾任多家上市公司技术总监、架构师、项目经理、高级软件工程师等职务。 网络人气名人讲师,...

reply all(2)
巴扎黑

Let’s start with some ideas
Concurrency in lamp is determined by the number of connections in mysql and the number of connections in apache.

phpcn_u1582

1. How many phps apache calls up to serve depends on your apache configuration and php configuration. You can find out by searching for php-fpm related knowledge.

2. php -> mysql, it depends on what php framework you use and whether you have an independent database broker service. Generally it is one to one.

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