You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
But my application need perfomance. When it about 400 concurrent request and make query to database, request create new connection. And there are errors:
Connection is not available, request timed out after 30437ms (total=50, active=50, idle=0, waiting=37)
Connection is not available, request timed out after 30437ms (total=50, active=50, idle=0, waiting=36)
Connection is not available, request timed out after 30437ms (total=50, active=50, idle=0, waiting=35)
The exception:
CannotCreateTransactionException: Could not open JPA EntityManager for transaction
I want to make the whole application query in 50 connections, and those connections not shutdown, no create more, and if there is a request, it should wait before another request.
The text was updated successfully, but these errors were encountered:
I am using Spring boot with HikariDataSource, this is my config
But my application need perfomance. When it about 400 concurrent request and make query to database, request create new connection. And there are errors:
The exception:
CannotCreateTransactionException: Could not open JPA EntityManager for transaction
I want to make the whole application query in 50 connections, and those connections not shutdown, no create more, and if there is a request, it should wait before another request.
The text was updated successfully, but these errors were encountered: