Hey guys,
How well does cURL work with a lot of users sending requests to a server?
For example, if a server accepts a URL from users, and like 20 people send a URL to the server around the same time, will the server be able to handle all the cURL requests? How is the performance? The server will be taking the URLs from users and doing this:
curl_setopt($curl, CURLOPT_URL, $url);
curl_setopt($curl, CURLOPT_REFERER, $url);
curl_setopt($curl, CURLOPT_VERBOSE, true);
curl_setopt($curl, CURLOPT_CONNECTTIMEOUT, 10);
curl_setopt($curl, CURLOPT_TIMEOUT, 10);
curl_setopt($curl, CURLOPT_FOLLOWLOCATION, true);
curl_setopt($curl, CURLOPT_RETURNTRANSFER, true);
curl_setopt($curl, CURLOPT_AUTOREFERER, true );
curl_getinfo($curl, CURLINFO_EFFECTIVE_URL);
curl_exec($curl);
curl_close ($curl);
As you can see, the server doesn’t even echo what is returned from cURL, but it does run the exec…