Home >Backend Development >PHP Tutorial > 网页使用curl_multi多线程后速度变得更慢了?该如何处理

网页使用curl_multi多线程后速度变得更慢了?该如何处理

WBOY
WBOYOriginal
2016-06-13 12:33:401270browse

网页使用curl_multi多线程后速度变得更慢了?
curl_init()是单线程,curl_multi_init()是多线程,网页使用curl_multi多线程后速度变得更慢了?是不是多线程消耗cpu和内存更多导致性能降低呢。
http://www.webkaka.com/tutorial/php/2013/102843/

多线程 curl
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