Re: CURL efficiency?
| From: | Nathan Nobbe | Date: | Fri, 16 Nov 2007 17:36:00 +0000 |
| Subject: | Re: CURL efficiency? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-264713@lists.php.net to get a copy of this message | ||
On Nov 15, 2007 4:41 PM, Michael McGlothlin <michaelm@swplumb.com> wrote:
> I make use of CURL to talk to a back-end system and I'm calling it
> several times per requested page and there are several page requests a
> second. Is there anything I can do to make this process more efficient?
> Does keep alive work? Do I need to keep the same connection handler and
> not close it after each request? Anyway to make CURL connections
> persistant like I can with MySQL and Memcache? Anything else that'd
> help? Thanks.
checkout curl_multi_init()
http://us.php.net/manual/en/function.curl-multi-init.php
-nathan