Show Table of Contents
2.4. Increase the Maximum Number of Cached Instances
JBoss Data Virtualization maintains a pool of extra socket connections that are reused. For load balancing, this reduces the potential cost of switching a connection to another server instance. The default setting is to maintain 16 connections. If the client application is connecting to a large number of JBoss Data Virtualization instances and post connection time load balancing is used, then consider increasing the number of cached instances.
Procedure 2.1. Increase the Maximum Number of Cached Instances
- Increase the
org.teiid.sockets.maxCachedInstancesproperty in theteiid-client-settings.propertiesfile located inEAP_HOME/dataVirtualization/jdbc/teiid-VERSION-redhat-N-jdbc.jar.Note
An example file (teiid-client-settings.orig.properties) is packaged in the client JAR file.

Where did the comment section go?
Red Hat's documentation publication system recently went through an upgrade to enable speedier, more mobile-friendly content. We decided to re-evaluate our commenting platform to ensure that it meets your expectations and serves as an optimal feedback mechanism. During this redesign, we invite your input on providing feedback on Red Hat documentation via the discussion platform.