News for hackers. Stuff that matters.
Re:Fixing Database Connections in Django by zzzeek on Friday March 08, 2013 @05:18PM (#5346107)
seems like I'll have to reply to every post on this thread but sqlalchemy's pool does this, either optimistically or pessimistically, see http://docs.sqlalchemy.org/en/rel_0_8/core/pooling.html#deal... (in particular pool_recycle).
Re:Fixing Database Connections in Django by jeremyw on Friday March 08, 2013 @05:55PM (#5346295)
Yes, SQLAlchemy is excellent in this respect, but without getting into a Django ORM vs SQLAlchemy debate, it is the less-preferred option among Django developers.
Re:Fixing Database Connections in Django by zzzeek on Friday March 08, 2013 @06:11PM (#5346374)
the pool can be used in isolation of the rest of SQLAlchemy, which is what Kenneth's Django-Pool library is doing.