curl-library
Re: Apache and libphp
Date: Mon, 5 Mar 2012 21:15:24 +0530
if there were connections from same ip, and i am using a single php
file to route the connection, that inits executes and closes the
connection, would it be faster if try for persistance?
On Mon, Mar 5, 2012 at 8:34 PM, Daniel Stenberg <daniel_at_haxx.se> wrote:
> On Mon, 5 Mar 2012, Prasanth Madhavan wrote:
>
>> In Apache + PHP + CURL setup, if the libcurl is used to connect to a port,
>> how many simultaneous connections are possible from libcurl(php5-curl) to
>> the port assuming there are multiple processes waiting for a request to that
>> particular port?
>
>
> libcurl has no limitation at all of its own in number of connections used in
> that kind of scenario, so I would assume you'd run into problems when you
> run out of either number of open file descriptors/sockets or when the amount
> of local ports run out. Both of which can be worked-around by upping limits
> and using multiple source IPs.
>
> --
>
> / daniel.haxx.se
> -------------------------------------------------------------------
> List admin: http://cool.haxx.se/list/listinfo/curl-library
> Etiquette: http://curl.haxx.se/mail/etiquette.html
-- Prasanth Madhavan ------------------------------------------------------------------- List admin: http://cool.haxx.se/list/listinfo/curl-library Etiquette: http://curl.haxx.se/mail/etiquette.htmlReceived on 2012-03-05