d
the line
log4j.category.httpclient.wire=INFO, STDOUT to the log4j.properties and
everything is working happily now.
-Original Message-
From: Ben Wong [mailto:[EMAIL PROTECTED]
Sent: Tuesday, 17 February 2004 10:06 PM
To: 'Commons HttpClient Project'
Subject: RE: GetMethod Perfor
PROTECTED]
Sent: Tuesday, 17 February 2004 9:50 PM
To: Commons HttpClient Project
Subject: RE: GetMethod Performance
Hello Ben,
Sorry, I got mixed up because yesterday there was another
poster reporting performance problems when using SSL.
So forget my comment about the secure socket factory
heers,
Roland
"Ben Wong" <[EMAIL PROTECTED]>
17.02.2004 11:10
Please respond to "Commons HttpClient Project"
To: "'Commons HttpClient Project'"
<[EMAIL PROTECTED]>
cc:
Subject:RE: GetMethod Performance
I
ailto:[EMAIL PROTECTED]
Sent: Tuesday, February 17, 2004 11:10
To: 'Commons HttpClient Project'
Subject: RE: GetMethod Performance
I am running the same code on both boxes, even the same JAR file. I am
not sure why crypto is involved as I was only retrieving content over
HTTP. I used the Ht
ement, otherwise you simply
end up measuring the speed of console output
Oleg
-Original Message-
From: Ben Wong [mailto:[EMAIL PROTECTED]
Sent: Monday, February 16, 2004 23:40
To: 'Commons HttpClient Project'
Subject: RE: GetMethod Performance
Windows Profile attached. An
simply end up measuring the speed of
console output
Oleg
-Original Message-
From: Ben Wong [mailto:[EMAIL PROTECTED]
Sent: Monday, February 16, 2004 23:40
To: 'Commons HttpClient Project'
Subject: RE: GetMethod Performance
Windows Profile attached. Any help would be appreciate
tocolSocketFactory
to use the faster crypto service provider.
cheers,
Roland
"Ben Wong" <[EMAIL PROTECTED]>
16.02.2004 23:39
Please respond to "Commons HttpClient Project"
To: "'Commons HttpClient Project'"
<[EMAIL PROTECT
Windows Profile attached. Any help would be appreciated
Windows XP on P-M 1.4
-
Flat profile of 3.44 secs (322 total ticks): main
Interpreted + native Method
7.5% 0 +24java.net.SocketInputStream.socketRead0
7.2% 0 +23ja
t: RE: GetMethod Performance
Ben,
Try the following:
(1) disable stale connections check
SimpleHttpConnectionManager connman = new SimpleHttpConnectionManager();
connman.setConnectionStaleCheckingEnabled(false);
HttpClient client = new HttpClient(connman);
http://jakarta.apache.org/co
Ben,
Try the following:
(1) disable stale connections check
SimpleHttpConnectionManager connman = new SimpleHttpConnectionManager();
connman.setConnectionStaleCheckingEnabled(false);
HttpClient client = new HttpClient(connman);
http://jakarta.apache.org/commons/httpclient/apidocs/org/apache/com
hat I should do when I execute Java class from
console on Sun box? Or do they have a different JVM configuration?
-Original Message-
From: Roland Weber [mailto:[EMAIL PROTECTED]
Sent: Monday, 16 February 2004 5:25 PM
To: Commons HttpClient Project
Subject: Re: GetMethod Performance
Hi Ben
a different JVM configuration?
-Original Message-
From: Roland Weber [mailto:[EMAIL PROTECTED]
Sent: Monday, 16 February 2004 5:25 PM
To: Commons HttpClient Project
Subject: Re: GetMethod Performance
Hi Ben,
that is indeed a big difference. Two questions:
1. The HttpClient example uses
Hi Ben,
that is indeed a big difference. Two questions:
1. The HttpClient example uses IP address 192.168.0.1,
the Socket example connects to 192.168.0.11
Is that a typo, or do you indeed access a different host?
If that different host is a caching proxy, that would be an
explanation.
Hi Ben,
I believe your HttpClient numbers are being inflated by one-time
initialization costs. I was able to get approximately the same numbers
with HttpClient and Socket. Please see my examples attached below:
Mike
HttpClient code:
HttpClient client = new HttpClient();
GetM
14 matches
Mail list logo