Re: CURL efficiency?

From: Date: Fri, 16 Nov 2007 07:29:35 +0000
Subject: Re: CURL efficiency?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-264669@lists.php.net to get a copy of this message
Michael McGlothlin 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. How about letting apache proxy things for you instead? You'd would map your backend system URLs into your frontend system e.g. through "/backend/" - I'm not sure how well that would fit into your current setup, though. /Per Jessen, Zürich

« previous php.general (#264669) next »