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


Groups > comp.lang.java.programmer > #21285 > unrolled thread

HTTP thread limit

Started byRoedy Green <see_website@mindprod.com.invalid>
First post2013-01-09 23:11 -0800
Last post2013-01-10 01:11 -0800
Articles 4 — 2 participants

Back to article view | Back to comp.lang.java.programmer


Contents

  HTTP thread limit Roedy Green <see_website@mindprod.com.invalid> - 2013-01-09 23:11 -0800
    Re: HTTP thread limit Steven Simpson <ss@domain.invalid> - 2013-01-10 08:04 +0000
      Re: HTTP thread limit Roedy Green <see_website@mindprod.com.invalid> - 2013-01-10 01:06 -0800
      Re: HTTP thread limit Roedy Green <see_website@mindprod.com.invalid> - 2013-01-10 01:11 -0800

#21285 — HTTP thread limit

FromRoedy Green <see_website@mindprod.com.invalid>
Date2013-01-09 23:11 -0800
SubjectHTTP thread limit
Message-ID<s9qse8hi84jv21924le8cdta61li4parcc@4ax.com>
Is there some limit in Java on how many HTTP GET probes you can have
going at once on different threads?  How many waits you can have for a
response from some website out on the web?

If so, what happens when you go over the limit?  Do you just wait to
do your send or do you abort?  Can you configure this limit?  What is
it called?
-- 
Roedy Green Canadian Mind Products http://mindprod.com
Students who hire or con others to do their homework are as foolish 
as couch potatoes who hire others to go to the gym for them. 

[toc] | [next] | [standalone]


#21290

FromSteven Simpson <ss@domain.invalid>
Date2013-01-10 08:04 +0000
Message-ID<4992s9-si7.ln1@s.simpson148.btinternet.com>
In reply to#21285
On 10/01/13 07:11, Roedy Green wrote:
> Is there some limit in Java on how many HTTP GET probes you can have
> going at once on different threads?  How many waits you can have for a
> response from some website out on the web?
>
> If so, what happens when you go over the limit?  Do you just wait to
> do your send or do you abort?  Can you configure this limit?  What is
> it called?

<http://docs.oracle.com/javase/7/docs/technotes/guides/net/http-keepalive.html>

-- 
ss at comp dot lancs dot ac dot uk

[toc] | [prev] | [next] | [standalone]


#21293

FromRoedy Green <see_website@mindprod.com.invalid>
Date2013-01-10 01:06 -0800
Message-ID<mu0te8lmb8ogctu2d9qr6l2jg2h0465tbt@4ax.com>
In reply to#21290
On Thu, 10 Jan 2013 08:04:20 +0000, Steven Simpson <ss@domain.invalid>
wrote, quoted or indirectly quoted someone who said :

><http://docs.oracle.com/javase/7/docs/technotes/guides/net/http-keepalive.html>

What I am doing is probing various online bookstores and online stores
to find out which products they have in stock.  Some stores have a
SOAP interface. Others I have to screenscrape. 

I might be probing something like 30 different stores at once. I
suppose each one could have a persistent connection.
-- 
Roedy Green Canadian Mind Products http://mindprod.com
Students who hire or con others to do their homework are as foolish 
as couch potatoes who hire others to go to the gym for them. 

[toc] | [prev] | [next] | [standalone]


#21294

FromRoedy Green <see_website@mindprod.com.invalid>
Date2013-01-10 01:11 -0800
Message-ID<0d1te8p7clmdt21nk3nm8upc9254iomtbp@4ax.com>
In reply to#21290
On Thu, 10 Jan 2013 08:04:20 +0000, Steven Simpson <ss@domain.invalid>
wrote, quoted or indirectly quoted someone who said :

><http://docs.oracle.com/javase/7/docs/technotes/guides/net/http-keepalive.html>

http.maxConnections=<int>
 default: 5

Indicates the maximum number of connections per destination to be kept
alive at any given time

But is there an overall limit?
-- 
Roedy Green Canadian Mind Products http://mindprod.com
Students who hire or con others to do their homework are as foolish 
as couch potatoes who hire others to go to the gym for them. 

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.java.programmer


csiph-web