cURL / Mailing Lists / curl-and-php / Single Mail

curl-and-php

Re: parallel execution

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Tue, 10 Jun 2003 12:24:11 +0200 (CEST)

On Mon, 9 Jun 2003, imran khalid wrote:

> I want to collect data from more than 10 sites by using CURL

[snip]

> How can i minimize the execution of getting data from more than 10 sites?
> Any idea of parallel processing ?

This can be solved using the multi interface of libcurl (which I believe is
being incorporated into the PHP/CURL module, slowly, as we speak) or by using
threads and do separate requests in individual threads. I don't know if PHP
supports threads any good.

> How will then i shall sum the 10 parallel results in one page?

I don't know PHP so I can't tell.

-- 
 Daniel Stenberg -- curl: been grokking URLs since 1998
-------------------------------------------------------
This SF.net email is sponsored by:  Etnus, makers of TotalView, The best
thread debugger on the planet. Designed with thread debugging features
you've never dreamed of, try TotalView 6 free at www.etnus.com.
Received on 2003-06-10