Zebra_cURL is a high performance PHP library acting as a wrapper to PHP's libcurl library, which not only allows the running of multiple requests at once asynchronously in parallel, but as soon as one thread finishes, it can be processed right away without having to wait for the other threads in the queue to finish, eliminating wasted CPU cycles from busy waiting. This result is a faster and more efficient way of processing large quantities of cURL requests (like fetching thousands of RSS feeds at once), drastically reducing processing time. This script supports GET (with caching) and POST requests, and basic downloads as well as downloads from FTP servers, HTTP Authentication, and requests through proxy servers. For maximum efficiency, downloads are streamed (bytes downloaded are directly written to disk), removing the unnecessary strain from the server of having to read files into memory first and then writing them to disk.
|Tags||PHP curl libcurl wrapper multi-threaded|
|Operating Systems||OS Independent|