[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-wget] POST file with several requests (HTTP 1.1)
From: |
Alexandre Vieira |
Subject: |
Re: [Bug-wget] POST file with several requests (HTTP 1.1) |
Date: |
Tue, 3 Aug 2010 14:31:09 +0100 |
Hi Giuseppe,
That's what I'm already doing but the problem is that I can't get the
desired throughput launching wget 20k times, opening and closing TCP
connections and not to mention that our web application is designed to work
with 1.1 persistent connections. Opening a new connection means launching a
new thread to handle the request and that takes time and resources.
It's a billing interface and we need to stuff ~20k requests in 2 hours
everyday. I'll give curl a shot.. In the worst case scenario I'll need to
develop a little program with libcurl.
Thanks for your time.
BR
AJ
On Tue, Aug 3, 2010 at 12:00 PM, Giuseppe Scrivano <address@hidden>wrote:
> Hi Alexandre,
>
> Alexandre Vieira <address@hidden> writes:
>
> > Is it possible to have wget to send a different POST for each line on the
> file in an HTTP 1.1 persistent connection or HTTP 1.0
> > "Connection: Keep-alive" connection? Like having the connection up and
> feed it trough stdin or something similar?
>
> This can't be done, the POST data can't be splitted, I can't imagine any
> workaround for it. The only possible solution I see is to use two
> different wget instances, and two different connections.
>
> Giuseppe
>
--
Alexandre Vieira - address@hidden