jgoodyear opened a new pull request, #2069:
URL: https://github.com/apache/cxf/pull/2069

   HttpConduit should flush output stream ahead of closing connections when 
HttpClient is autocloseable.
   
   When running WebClient in a load test (single host) we'll observe low 
throughput.
   
   When we adjust the HttpConduit to flush output stream ahead of connection 
close, we observe significant throughput improvement. 
   
   Given this appears to affect just autocloseable HttpClient, we select to 
flush the output stead only when the JVM provides the autocloseable HttpClient 
variety.
   
   Tested on:
   Ubuntu 22.04 LTS with Java 17 and 21.
   CentOS Stream 9 (PPC64LE) with Java 17 and 21.
   Windows 11 Pro (x64) with Java 17 and 21.
   MacOS 14.6.1 with Java 17 and 21.
   
   Notes: 
   Azul Zulu and Eclipse Adoptium used for OpenJDK builds.
   IBM Semeru used for OpenJ9 coverage.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to