vapor-community / postgresql

Robust PostgreSQL interface for Swift
MIT License
131 stars 33 forks source link

Support for connection pooling #68

Open TheGeekPharaoh opened 6 years ago

TheGeekPharaoh commented 6 years ago

The ability to leverage a pool of PostgreSQL connections rather than creating one every time would be a huge improvement in performance and stability. As it stands now, unless I do manual checking in my code it would be trivial to exhaust the number of available connections from the server if accessing the database through REST calls, etc.