Is there a way to pool or reuse HTTP connections with PHP's curl client? I already found Persistent/keepalive HTTP with the PHP Curl library?, but it only allows connection reuse on the same handle, and there isn't a good way to persist handles between multiple fastcgi PHP calls, and that's probably a bad idea because the handle might never be closed.
The only solution I found was routing the requests through a proxy that does connection pooling.
multiple fastcgi PHP calls
? – Mostafa Bergcurl_multi_*
methods can fix for you? – Mostafa Berg