cURL / Mailing Lists / curl-library / Single Mail

curl-library

How to do simultaneous transfer continuously in all the existing connections

From: Mohanraj V <mohanraj.venkatachalam_at_veryxtech.com>
Date: Tue, 02 Dec 2014 17:25:46 +0530

Hi,

I have following questions.

1. For eg., I have made 1000 connections by adding individual 1000 easy
handles to a multi handle.
After that, I did curl_multi_perform using that multi_handle. LibCurl
had established 1000 tcp connections and transmitted
one requests per connection .But How can i transfer requests (http get)
continuously in all the 1000 connections concurrently.
Is it possible using multi_perform. But multi_perform performs single
transfer in all the handles ? Or else Any other way to achieve this ?

2. With this configuration,
Processor: Intel® Core™ i5-2400 CPU @ 3.10GHz × 4,
RAM: 3.7 GiB,
Available disk space: 42.9 GiB,
Kernel Linux 3.3.4-5.fc17.x86_64.
i) What is the maximum(approx.) possible connections ?
ii) What is the maximum(approx.) requests per connection possible ?
iii) Is it possible to define request rate and connection rate using
lib-curl ?

Please answer my question.

-- 
Thanks&  Regards,
Mohanraj V
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2014-12-02