[id='configuring-hotrod-connection-pools_{context}']
= Configuring Connection Pools
Hot Rod Java clients keep pools of persistent connections to {brandname} servers to reuse TCP connections instead of creating them on each request.

.Procedure

* Configure Hot Rod client connection pool settings as in the following examples:

.ConfigurationBuilder
[source,java,options="nowrap",subs=attributes+,role="primary"]
----
include::code_examples/HotRodConnectionPools.java[]
----

.hotrod-client.properties
[source,options="nowrap",subs=attributes+,role="secondary"]
----
include::config_examples/hotrod-client-connection-pool.properties[]
----
