You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cxf.apache.org by bu...@apache.org on 2012/09/26 23:47:25 UTC
svn commit: r833114 - in /websites/production/cxf/content:
cache/docs.pageCache docs/asynchronous-client-http-transport.html
Author: buildbot
Date: Wed Sep 26 21:47:24 2012
New Revision: 833114
Log:
Production update by buildbot for cxf
Modified:
websites/production/cxf/content/cache/docs.pageCache
websites/production/cxf/content/docs/asynchronous-client-http-transport.html
Modified: websites/production/cxf/content/cache/docs.pageCache
==============================================================================
Binary files - no diff available.
Modified: websites/production/cxf/content/docs/asynchronous-client-http-transport.html
==============================================================================
--- websites/production/cxf/content/docs/asynchronous-client-http-transport.html (original)
+++ websites/production/cxf/content/docs/asynchronous-client-http-transport.html Wed Sep 26 21:47:24 2012
@@ -121,8 +121,7 @@ Apache CXF -- Asynchronous Client HTTP T
<td height="100%">
<!-- Content -->
<div class="wiki-content">
-<div id="ConfluenceContent">
-<h1><a shape="rect" name="AsynchronousClientHTTPTransport-AsynchronousClientHTTPTransport"></a>Asynchronous Client HTTP Transport</h1>
+<div id="ConfluenceContent"><h1><a shape="rect" name="AsynchronousClientHTTPTransport-AsynchronousClientHTTPTransport"></a>Asynchronous Client HTTP Transport</h1>
<p>By default, CXF uses a transport based on the in-JDK HttpURLConnection object to perform HTTP requests. The HttpURLConnection object uses a blocking model for all IO operations which requires a per-thread execution model. From a pure performance standpoint, this model generally performs very well, but it does have problems scaling when many requests need to be executed simultaneously.</p>
@@ -146,13 +145,13 @@ Apache CXF -- Asynchronous Client HTTP T
<p>Settings related to Keep-Alive connection management:</p>
<div class="table-wrap">
-<table class="confluenceTable"><tbody><tr><td colspan="1" rowspan="1" class="confluenceTd">org.apache.cxf.transport.http.async.MAX_CONNECTIONS</td><td colspan="1" rowspan="1" class="confluenceTd"> </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">org.apache.cxf.transport.http.async.MAX_PER_HOST_CONNECTIONS</td><td colspan="1" rowspan="1" class="confluenceTd"> </td></tr></tbody></table>
+<table class="confluenceTable"><tbody><tr><td colspan="1" rowspan="1" class="confluenceTd">org.apache.cxf.transport.http.async.CONNECTION_TTL</td><td colspan="1" rowspan="1" class="confluenceTd"> Maximum time a connection is held open in ms. Default is 60000. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">org.apache.cxf.transport.http.async.MAX_CONNECTIONS</td><td colspan="1" rowspan="1" class="confluenceTd"> Maximum number of connections opened per host. Default is 1000. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">org.apache.cxf.transport.http.async.MAX_PER_HOST_CONNECTIONS</td><td colspan="1" rowspan="1" class="confluenceTd"> Maximum number of connections opened in total. Default is 5000. </td></tr></tbody></table>
</div>
<p>Settings related to Apache HttpAsyncClient threads and selectors:</p>
<div class="table-wrap">
-<table class="confluenceTable"><tbody><tr><td colspan="1" rowspan="1" class="confluenceTd">org.apache.cxf.transport.http.async.ioThreadCount</td><td colspan="1" rowspan="1" class="confluenceTd"> </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">org.apache.cxf.transport.http.async.interestOpQueued</td><td colspan="1" rowspan="1" class="confluenceTd"> </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">org.apache.cxf.transport.http.async.selectInterval</td><td colspan="1" rowspan="1" class="confluenceTd"> </td></tr></tbody></table>
+<table class="confluenceTable"><tbody><tr><td colspan="1" rowspan="1" class="confluenceTd">org.apache.cxf.transport.http.async.ioThreadCount</td><td colspan="1" rowspan="1" class="confluenceTd"> Number of threads HttpAsyncClient uses to process IO events. Default is "-1" which means one thread per CPU core.</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">org.apache.cxf.transport.http.async.interestOpQueued</td><td colspan="1" rowspan="1" class="confluenceTd"> true/false for whether the interest ops are queues or process directly.</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">org.apache.cxf.transport.http.async.selectInterval</td><td colspan="1" rowspan="1" class="confluenceTd"> Default 1000 ms. How often the selector thread wakes up if there are no events to process additional things like queue expirations.</td></tr></tbody></table>
</div>