Submitted by ian on Fri, 08/21/2009 - 07:56
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.
- ian's blog
- Login or register to post comments