Home > Backend Development > PHP Tutorial > mongodb - php在创建新的connection连接时总是会花费1秒的时间

mongodb - php在创建新的connection连接时总是会花费1秒的时间

WBOY
Release: 2016-06-06 20:13:38
Original
1101 people have browsed it

php在创建新的connection连接时总是会花费1秒的时间

mongodb - php在创建新的connection连接时总是会花费1秒的时间
短暂刷新后接连时间几乎为0,几分钟后又要花1s来连接

回复内容:

php在创建新的connection连接时总是会花费1秒的时间

mongodb - php在创建新的connection连接时总是会花费1秒的时间
短暂刷新后接连时间几乎为0,几分钟后又要花1s来连接

应该是有持续链接吧,可以查一下php mongodb的相关文档

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