Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #101269

Re: What is the fastest way to do 400 HTTP requests using requests library?

From Tim Chase <python.list@tim.thechases.com>
Newsgroups comp.lang.python
Subject Re: What is the fastest way to do 400 HTTP requests using requests library?
Date 2016-01-05 05:43 -0600
Message-ID <mailman.16.1451994895.2305.python-list@python.org> (permalink)
References <0e42a90b-b736-4050-a20c-6d387048daf3@googlegroups.com> <568b027c$0$1588$c3e8da3$5496439d@news.astraweb.com> <CALwzid=F7kwMijtc6pmPRkSgqOWeP7sx8366Eo56GuNuY7oD1g@mail.gmail.com> <mailman.13.1451984029.2305.python-list@python.org> <568b8eff$0$1588$c3e8da3$5496439d@news.astraweb.com>

Show all headers | View raw


On 2016-01-05 20:38, Steven D'Aprano wrote:
> On Tue, 5 Jan 2016 07:53 pm, Tony van der Hoff wrote:
> 
> > Why would someone want to make 400 HTTP requests in a short time?
> 
> For the same reason they want to make 400 HTTP requests over a long
> time, except that they're in a hurry.
> 
> Maybe they're stress-testing a web server, or they just want to
> download things in a rush.

Maybe they just want to generate lots of errors.  It's generally more
productive to make lots of 200 HTTP requests[*]. ;-)

-tkc


[*] http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html


Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

What is the fastest way to do 400 HTTP requests using requests library? livemsn22@gmail.com - 2016-01-04 12:50 -0800
  Re: What is the fastest way to do 400 HTTP requests using requests library? Steven D'Aprano <steve@pearwood.info> - 2016-01-05 10:38 +1100
    Re: What is the fastest way to do 400 HTTP requests using requests library? Ian Kelly <ian.g.kelly@gmail.com> - 2016-01-04 16:51 -0700
    Re: What is the fastest way to do 400 HTTP requests using requests library? Tony van der Hoff <tony@vanderhoff.org> - 2016-01-05 09:53 +0100
      Re: What is the fastest way to do 400 HTTP requests using requests library? Steven D'Aprano <steve@pearwood.info> - 2016-01-05 20:38 +1100
        Re: What is the fastest way to do 400 HTTP requests using requests library? Tim Chase <python.list@tim.thechases.com> - 2016-01-05 05:43 -0600
        Re: What is the fastest way to do 400 HTTP requests using requests library? Paul Rubin <no.email@nospam.invalid> - 2016-01-05 09:02 -0800
          Re: What is the fastest way to do 400 HTTP requests using requests library? Ian Kelly <ian.g.kelly@gmail.com> - 2016-01-05 10:32 -0700

csiph-web