PHP Classes
elePHPant
Icontem

Very Fast Curl class: The fastest Curl class

Recommend this page to a friend!
  All requests RSS feed  >  Very Fast Curl class  >  Request new recommendation  >  A request is featured when there is no good recommended package on the site when it is posted. Featured requests  >  No recommendations No recommendations  

Very Fast Curl class

Edit

by Tuner HD - 4 years ago (2015-06-16)

The fastest Curl class

This request is clear and relevant.
This request is not clear or is not relevant.

+6

I need the fastest curl class.

  • 2 Clarification requests
  • 2. by riccardo castagna - 1 year ago (2018-07-09) Reply

    May you please post me some slow cURL process, perhaps, there could probably be something to optimize.

    • 1. by Tuner HD - 4 years ago (2015-06-19) Reply

      Ex.: Zebra curl class

      Ask clarification

      5 Recommendations

      Fast PHP CURL Multiple Requests: Retrieve the content of multiple URLs using CURL

      This recommendation solves the problem.
      This recommendation does not solve the problem.

      0

      by riccardo castagna package author package author Reputation 155 - 11 months ago (2018-08-17) Comment

      Sometime with the url request arrays, when the loop is executed, the curl multi request loses some hits, to work around this problem it is necessary to detach the loop of the array with the url requests in two parts: the start with key number zero and than, all the rest. This class solves this problem and the multi requests are very stables and simultaneous. It is very simple class, easy to use, fast and really light, only 1,05 kb for the main class. During my tests I stressed a lot this class and it never lost a hit. I have also simulated an error by inserting a non-existent url into the array and the function did not stop and went to the next url. FAST, SIMPLE, LIGHT, STABLE AND OBVIOUSLY SIMULTANEOUS.


      Nano REST: Send REST requests to Web servers using Curl

      This recommendation solves the problem.
      This recommendation does not solve the problem.

      0

      by Sergey Karavay package author package author Reputation 50 - 1 year ago (2018-01-31) Comment

      I can recommend Nano REST. Fats and easy to use.


      MASNathan Curl: Send HTTP requests with the Curl extension

      This recommendation solves the problem.
      This recommendation does not solve the problem.

      +2

      by Andre Roque Filipe package author package author Reputation 35 - 4 years ago (2015-06-19) Comment

      This class is as fast as any other class that uses curl to execute http requests.

      The only plus side, is that this class is easy to use, supports all the request types, such as GET, POST, PUT and DELETE.

      It also supports authentication (login), if the data you want to retrieve requires something like that.

      • 2 Comments
      • 5. by Tuner HD - 4 years ago (2015-06-19) in reply to comment 4 by Andre Roque Filipe Reply

        I using https Can use this class?

      • 6. by Andre Roque Filipe package author package author - 3 years ago (2015-07-30) in reply to comment 5 by Tuner HD Reply

        Yes of course


      Curl Post Master: Send HTTP POST requests with the Curl extension

      This recommendation solves the problem.
      This recommendation does not solve the problem.

      +3

      by Anthony Amolochitis package author package author Reputation 445 - 4 years ago (2015-06-18) Comment

      I have a Curl post class that is simple to use with single posts. The example to use it is in the class. If you need help using it as well, just hit me up, and I will help.


      PHP Curl Parallel Requests: Send multiple HTTP parallel requests with Curl

      This recommendation solves the problem.
      This recommendation does not solve the problem.

      +6

      by Dave Smith Reputation 6795 - 4 years ago (2015-06-16) Comment

      I would give this one a try. It allows parallel requests which will speed up your curl responses.

      • 3 Comments
      • 1. by Manuel Lemos - 4 years ago (2015-06-16) Reply

        Yes, if the idea is to send requests to many servers, this class takes advantage of the multiple request support to finish a list of remote requests sooner.

        However, if it is to send single requests, I do not think there is a solution faster than others because most of the time PHP will be waiting for the remote server to respond.

      • 2. by Tuner HD - 4 years ago (2015-06-17) in reply to comment 1 by Manuel Lemos Reply

        What would you recommend for single request?

      • 3. by Manuel Lemos - 4 years ago (2015-06-17) in reply to comment 2 by Tuner HD Reply

        For single requests, there is nothing that can requests go faster on the PHP site because PHP will be most of the time doing nothing but waiting for the responses to be sent or received.

        Maybe if you tell me why you want requests to go faster we can figure if there are some protocol optimizations that can save you some time.


      Recommend package
      : 
      :