<html>
<head>
<base href="https://docs.jboss.org/author">
<link rel="stylesheet" href="/author/s/en/2172/19/5/_/styles/combined.css?spaceKey=TEIID&forWysiwyg=true" type="text/css">
</head>
<body style="background: white;" bgcolor="white" class="email-body">
<div id="pageContent">
<div id="notificationFormat">
<div class="wiki-content">
<div class="email">
<h2><a href="https://docs.jboss.org/author/display/TEIID/Socket+Transports">Socket Transports</a></h2>
<h4>Page <b>edited</b> by <a href="https://docs.jboss.org/author/display/~shawkins">Steven Hawkins</a>
</h4>
<br/>
<h4>Changes (1)</h4>
<div id="page-diffs">
<table class="diff" cellpadding="0" cellspacing="0">
<tr><td class="diff-changed-lines" >Teiid separates the configuration of its socket transports for JDBC and ODBC. Typical installations will not need to adjust the default thread and buffer size settings. The default values for _input-buffer-size_ and _output-buffer-size_ are set to 0, which will use the system default. Before adjusting <span class="diff-deleted-words"style="color:#999;background-color:#fdd;text-decoration:line-through;">this value</span> <span class="diff-added-words"style="background-color: #dfd;">these values,</span> keep in mind that each JDBC/ODBC <span class="diff-added-words"style="background-color: #dfd;">connection</span> will create a new <span class="diff-changed-words">socket<span class="diff-deleted-chars"style="color:#999;background-color:#fdd;text-decoration:line-through;"> connection</span>.</span> Setting these values to a large buffer size should only be done if the number of clients are constrained. All JDBC/ODBC socket operations are non-blocking, so setting the number of _max-socket-threads_ higher than the maximum effective parallelism of the machine should not result in greater performance. The default value 0 indicates the system default of max available processors will be used. <br></td></tr>
<tr><td class="diff-unchanged" > <br>JDBC clients may need to adjust low-level transport values, in addition to [SSL Client Connection|TEIID:SSL Client Connections] properties via a teiid-client-settings.properties file. This file also contains buffer, socket pooling, and maxObjectSize (effectively the maximum response size) settings. <br></td></tr>
</table>
</div> <h4>Full Content</h4>
<div class="notificationGreySide">
<p>Teiid separates the configuration of its socket transports for JDBC and ODBC. Typical installations will not need to adjust the default thread and buffer size settings. The default values for <em>input-buffer-size</em> and <em>output-buffer-size</em> are set to 0, which will use the system default. Before adjusting these values, keep in mind that each JDBC/ODBC connection will create a new socket. Setting these values to a large buffer size should only be done if the number of clients are constrained. All JDBC/ODBC socket operations are non-blocking, so setting the number of <em>max-socket-threads</em> higher than the maximum effective parallelism of the machine should not result in greater performance. The default value 0 indicates the system default of max available processors will be used.</p>
<p>JDBC clients may need to adjust low-level transport values, in addition to <a href="/author/display/TEIID/SSL+Client+Connections" title="SSL Client Connections">SSL Client Connection</a> properties via a teiid-client-settings.properties file. This file also contains buffer, socket pooling, and maxObjectSize (effectively the maximum response size) settings.</p>
</div>
<div id="commentsSection" class="wiki-content pageSection">
<div style="float: right;" class="grey">
<a href="https://docs.jboss.org/author/users/removespacenotification.action?spaceKey=TEIID">Stop watching space</a>
<span style="padding: 0px 5px;">|</span>
<a href="https://docs.jboss.org/author/users/editmyemailsettings.action">Change email notification preferences</a>
</div>
<a href="https://docs.jboss.org/author/display/TEIID/Socket+Transports">View Online</a>
|
<a href="https://docs.jboss.org/author/pages/diffpagesbyversion.action?pageId=18646073&revisedVersion=6&originalVersion=5">View Changes</a>
|
<a href="https://docs.jboss.org/author/display/TEIID/Socket+Transports?showComments=true&showCommentArea=true#addcomment">Add Comment</a>
</div>
</div>
</div>
</div>
</div>
</body>
</html>