I am trying connection pooling with cloudant database. From what I understand, the cloudant database inherently does connection pooling with the default parameter of max_connections = 6. max_connections code. The code snippet required is at line 130.
I have a working application written in scala using akka-http with the following initialisation :
val client: CloudantClient = ClientBuilder.account(<accountdetails>)
.username(<my user name>)
.password(<my password>).maxConnections(20)
.build()
println("creating database")
val db: Database = client.database("exampledb", false)
println("created");
My question is how do I confirm if the connection pooling works as intended for a basic get function from lets say an example student Database.