Hi,
I think it can improve the performance, when we do host lookup it
require extra cost, if we can cache the hostname-ip map, then if there
is same hostname, we can use ip directly, no dns resolve will be required.
I guess it improve the performance.
Why?
"Jakarta Commons Users List" <[email protected]> wrote:
Hi,
I just noticed that in
org/apache/commons/httpclient/protocol/DefaultProtocolSocketFactory
we use the Socket(host, port), why not use Socket(InetAddress, port)
I guess the the Socket(host, port) will eventually call
Socket(InetAddress, port), right?
I think if we use Socket(InetAddress, port), can improve the productivity.
thoughts?
James.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
-----------------------------------------------------------------
Find the home of your dreams with eircom net property
Sign up for email alerts now http://www.eircom.net/propertyalerts
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]