Hacker News new | past | comments | ask | show | jobs | submit login

This old thread about it is interesting: https://groups.google.com/forum/?fromgroups=#!topic/django-u...

I really hope Django gets support for persistent connections and/or connection pooling. pgbouncer isn't always an option on shared hosting (and is a royal PITA to setup on Windows) and there are other databases than postgres.




As per the bottom of the post persistent connections have already been committed for Django 1.6 - https://github.com/django/django/commit/2ee21d


Here @ SendHub we've been using django-db-pool[0] since Q3 of 2012 in production and it's been pretty smooth sailing.

NB: I highly recommend verifying via postgres logs that the module is doing what you expect, because it may not be immediately clear whether the driver has bee activated or not.

[0] https://github.com/gmcguire/django-db-pool




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: