Funny story. I am testing the performance of Apache XML RPC Java client (v3.1.2) using Apache HttpClient 3.0.1 (and the MultiThreadedHttpConnectionManager) vs the default Sun implementation. I was running 32 simultaneous threads. The defalt implementaiton would take less than a second. Apache HttpClient would take about 30 seconds. I could not figure out why this was. Then I looked a my logs and noticed that HttpClient spit out a bunch of logs. So I changed the logging level from DEBUG to INFO and wha-la, HttpClient performance was now better (not by much) than the default implementation. Not bad, an over 30x improvement by changing the logging level.

Powered by Drupal, an open source content management system

Navigation