Red Hat Training

A Red Hat training course is available for Red Hat JBoss Data Virtualization

4.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 4.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.