-
-
Notifications
You must be signed in to change notification settings - Fork 105
New connection manager performance issues #543
Copy link
Copy link
Open
Labels
ConnectionPoolFeatures and bugs that are related to the impl in ConnectionPoolModuleFeatures and bugs that are related to the impl in ConnectionPoolModulebugSomething isn't workingSomething isn't working
Description
Activity
Metadata
Metadata
Assignees
Labels
ConnectionPoolFeatures and bugs that are related to the impl in ConnectionPoolModuleFeatures and bugs that are related to the impl in ConnectionPoolModulebugSomething isn't workingSomething isn't working
Describe the issue
The new connection manager that PostgresClient uses has performance issues with lock contention
Vapor version
Not using
Operating system and version
MacOS 15.3.2 (24D81)
Swift version
Apple Swift version 6.0.3
Steps to reproduce
If PostgresClient is setup with a sizeable number of connections then it will lock the state of the connection manager for long periods as
ConnectionGroupsearches through the list of connections repeatedly using code like this