note 100792 deleted from function.curl-multi-exec by danbrown
| From: | danbrown@php.net | Date: | Sun, 07 Nov 2010 14:03:54 +0000 |
| Subject: | note 100792 deleted from function.curl-multi-exec by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-173831@lists.php.net to get a copy of this message | ||
Note Submitter: patrick dot weygand at gmail dot com
----
I highly suggest that anyone who is trying to use multi_* use http://code.google.com/p/rolling-curl/. It is the
best wrapper I've seen out there that is both safe and efficient.
The library will not kill your cpu AND will allow you to process each request as it finishes without
having to wait for the longest request to finish.
Rolling curl allows you to make X requests at once and process each result as it finishes without
having to concern yourself too much with the details of multi_*. As the name suggests it, once it
finishes a request it queues up another.