avalon-phoenix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marcos Sanz/Denic" <s...@denic.de>
Subject Cornerstone's Connection
Date Wed, 10 Jul 2002 06:26:18 GMT

The class org.apache.avalon.cornerstone.blocks.connection.Connection is a
bottle neck for the deployment of a performant Server. The lines

getLogger().debug( "Starting connection on " + m_socket );
getLogger().debug( "Ending connection on " + m_socket );

perform a socket.toString() which turns up in an OS-call getHostByAddr().
Reverse DNS lookups are deadly for a server open to the whole Internet.
Could somebody at least change those lines to kind of

if (getLogger().isDebugEnabled())
     getLogger().debug( "Starting connection on " + m_socket );

Regards,
Marcos Sanz
DENIC eG


--
To unsubscribe, e-mail:   <mailto:avalon-phoenix-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:avalon-phoenix-dev-help@jakarta.apache.org>


Mime
View raw message