-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
1 addition
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
As of October 2019 the pooling implementation in the [`psycopg2.pool`](http://initd.org/psycopg/docs/pool.html) module is flawed: it doesn't really keep connections open, so it doesn't reduce latency at all when more than one connection is needed. This issue was first reported in 2017 in <https://github.com/psycopg/psycopg2/issues/563>, and a fix was proposed in <https://github.com/psycopg/psycopg2/pull/565>, but that fix wasn't merged. A rebased and improved version of the patch was proposed in <https://github.com/psycopg/psycopg2/pull/974>, but so far it hasn't been merged either. So, I'm releasing a proper pool implementation as a separate package. | ||
As of October 2019 the pooling implementation in the [psycopg2.pool](http://initd.org/psycopg/docs/pool.html) module is flawed: it doesn't really keep connections open, so it doesn't reduce latency at all when more than one connection is needed. This issue was first reported in 2017 in [psycopg/psycopg2#563](https://github.com/psycopg/psycopg2/issues/563), and a fix was proposed in [psycopg/psycopg2#565](https://github.com/psycopg/psycopg2/pull/565), but that fix wasn't merged. I submitted a rebased and improved version of the patch in [psycopg/psycopg2#974](https://github.com/psycopg/psycopg2/pull/974), but so far it hasn't been merged either. So, I'm releasing my work as a separate package. |