Re: Performance HTTPClient vs. ab

2003-08-15 Thread Ortwin Glück
Wolfgang Hoschek - DSD Staff wrote: - disabling stale connections with connectionMgr.setConnectionStaleCheckingEnabled(false) improves performance by a factor of 50 (note: factor, not percent). This is because stale connection checking adds a constant penalty time, which for very quick requests

RE: Performance HTTPClient vs. ab

2003-08-14 Thread Wolfgang Hoschek - DSD Staff
Oleg, Thanks for the kind help with working, well-performing code, which resolves the problem according to bench runs here. Just for the record, so that others may benefit as well, bench runs for *this* use case show the following: - GetMethod vs. PostMethod makes no noticeable difference - Simp

RE: Performance HTTPClient vs. ab

2003-08-14 Thread Kalnichevski, Oleg
Wolfgang, Please allow me to point out that your comparison is not completely accurate. Apache benchmark (I assume) uses HTTP GET requests, whereas your test application uses HTTP POST requests. Besides, you should have used HttpCliet's simple (non-multithreaded) connection manager to be on an

Re: Performance HTTPClient vs. ab

2003-08-14 Thread Ortwin Glück
Wolfgang, please try using the SimpleHttpConnectionManager instead of MultiThreadedHttpConnectionManager. Odi Wolfgang Hoschek wrote: I am planning on sending and receiving MANY (tens of tousands) small SOAP-like serial messages over the same persistent HTTP 1.1 connection, using a single cli