2.4. Increase the Maximum Number of Cached Instances
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.maxCachedInstances property in the teiid-client-settings.properties file located in EAP_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.