Skip to content

Introduce connection pooling inside cluster-aware datasource

Current implementation always establishes new physical connection with the cluster when user calls getPooledConnection(), which is suboptimal in our case. We can introduce pool inside cluster-aware datasource, which will keep connections with each cluster node.

Later we can store some metadata associated with each connection in that pool.