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
recently we have meet very bad performance for vertx postgres connection.
It sometimes took average 3-5 seconds to acquire the connection in our production environment when all connections are used and switched very frequently.
As its hard to extract the code, we've implement following reproducer which will show inconsistent behaviour.
And the 0 closed the connection in 4ms. So that the other connection could be acquired.
I think this might be the case that it took sometimes 3-5s in our production after all connections are occupied.
Can we speed up this?
Extra
Anything that can be relevant such as OS version, JVM version
macos, m3 max
The text was updated successfully, but these errors were encountered:
Questions
recently we have meet very bad performance for vertx postgres connection.
It sometimes took average 3-5 seconds to acquire the connection in our production environment when all connections are used and switched very frequently.
As its hard to extract the code, we've implement following reproducer which will show inconsistent behaviour.
Version
postgres: postgres:17.0-alpine3.20
vertx: 4.5.10
jdk:
Do you have a reproducer?
In order to simulate concurrently getConnection when full, we have configured max size 1 with 2 concurrent access In the following example ...
the code above will have following two kinds of output:
And the 0 closed the connection in 4ms. So that the other connection could be acquired.
I think this might be the case that it took sometimes 3-5s in our production after all connections are occupied.
Can we speed up this?
Extra
macos, m3 max
The text was updated successfully, but these errors were encountered: