Re: [PATCH] Proposal: connection pooling with psycopg2

2008-11-16 Thread Malcolm Tredinnick
On Sun, 2008-11-16 at 11:57 -0800, jothan wrote: > PsycoPg2 with a remote DB over a WAN is deadly slow. Since PsycoPg2 > supports connection pooling, I have decided to patch the Django DB > adapter to use this. I could see this implemented as below (this is a > very rough draft). For example, min

Re: Proposal: connection pooling with psycopg2

2008-11-16 Thread [EMAIL PROTECTED]
This sounds like a good feature, however, it's very difficult to read a patch in either email or on google groups, so could you please open a ticket in trac, and post this as a patch there. On Nov 16, 2:57 pm, jothan <[EMAIL PROTECTED]> wrote: > PsycoPg2 with a remote DB over a WAN is deadly slow

[PATCH] Proposal: connection pooling with psycopg2

2008-11-16 Thread jothan
PsycoPg2 with a remote DB over a WAN is deadly slow. Since PsycoPg2 supports connection pooling, I have decided to patch the Django DB adapter to use this. I could see this implemented as below (this is a very rough draft). For example, min and max connections should not be hardcoded. Let me know