Hello Bharathi,

> I tried the example given in HtpClient and ran on my windows desktop
> connecting to the adjacent desktop. With the netstat command I saw the
> connections not being reused. I don’t know if I am analysing it in a
> correct way. Every time a new foreign address gets created.

The (wire) log will tell us. See the instructions here:
http://jakarta.apache.org/commons/httpclient/logging.html
You will also find the output useful in determining whether
connections get re-used, because the connection manager
logs whether it keeps the connections open or not.

> I am also attaching the sample code.

Attachments get removed by the mailing list software. The cc directly
to my address didn't have an attachment either. Please inline the code.

> How do i get this information i mean the request contents from the log
> and headers and traces.

Follow the link to our logging guide above.

> I can implemet in this way, but we need to decide the hardware requirements
> intially itself in the project. We cant give it at a later moment. So i need
> to do a mathematical calculation and decide. If it doesnot support at the
> last stages then it will be a problem. the boxes are not available now.
> So could you help me in this aspect.

I couldn't even if I wanted to. This is a mailing list for HttpClient issues,
not for gratuitous business consulting. I don't know your application. If it
was about HttpClient alone, I'd say that an 8 CPU box will support plenty of
simultaneous connections. And you'll probably need several JVMs in parallel
to make use of that many processors. But what CPU and memory load your
application will create, and in what way it makes use of HttpClient, is not
for me to guess. We'll help you get the HttpClient issues resolved, then
you can run some performance tests on a small machine I hope you have
standing in some corner, and you can do the math yourself. You may also
ask the hardware supplier for help with sizing hardware requirements.

> We will be  using Weblogic 8.1 on the Solaris 9 box. I think it uses http1.1.

Then you should refer to performance guides for Weblogic to get an estimate.
HttpClient will most likely not be the limiting factor in your environment.

cheers,
  Roland

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to