hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thiago Costa" <...@infonet.com.br>
Subject MultiThread
Date Thu, 20 Mar 2003 23:02:57 GMT
Dear Friends,

I'm using the HTTP Client in a pool of connection. I have created a 
class that manage a list of URL. For example: i have a list of 100 URLs 
of diferent hosts. I want to retrieve all this urls but i don't want 
to do this in a sequencial mode. I want to put  some connections in a 
paralel mode. Like for example... I want 10 connection in paralel... 
Then, when a connection finish an other starts. I want to use this in a 
meta engine to retrive documents in Web.

My problem is that httpclient is raising many exeptions of connection 
timeout. I'm running my application in  super fast internet provider 
and it's not normal these time outs.

Does the httpclient manage a pool of connection like that ?
Does httpclient works well in a multithead mode ? How can i manage a 
list of url with a great performance ?

Can you help-me?

Thanks very much

Thiago Costa

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message