It is said that PHP harvesting is very expensive server resources, which process consumes the server resources?
Source: Internet
Author: User
It is said that PHP collection is very expensive server resources, which process consumes the server resources?
Recently studying the PHP collection program
The acquisition process is to obtain data, then process the data, and finally the storage
Personally think that the elimination of duplicate data storage is the most expensive server resources, we think??
------Solution--------------------
Landlord this problem, almost certainly will not have a clear and unique answer. Related to specific business content. Network traffic at the time of acquisition, processing after data mining, database writing, and even storage capacity can be bottlenecks.
I have done a web-capture program, is also a collection of it, concurrent Baiba HTTP Request to the network burst.
————————————————————————————————
Based on the plugin extension function provided by CSDN forum, I have made a signature file tool to share with you, welcome technical exchange:)
------Solution--------------------
Stealing data down the network resources
Analyze data fee system resources
------Solution--------------------
The collection of other people's pages to occupy a large network
Analyze matching files to occupy system resources
Write to Database ~ you know that.
------Solution--------------------
file_get_contents function will consume network resources,
Preg_match_all and Preg_replace function consumes CPU resources, and is not the general CPU consumption, you can go to simulate computing time
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.