News for hackers. Stuff that matters.
Re:Django 1.6 released by anan0s on Wednesday November 06, 2013 @09:47AM (#6682903)
are there any particular performance improvements over the previous versions ?

I was thinking basically of transaction management, especially the autocommit behavior.

I browsed through the docs and saw that the default python database API requires autocommit to be turned off... but then again django overrides this behavior.

any comments on this ? (or am I completely lost ?)...

Re:Django 1.6 released by masklinn on Wednesday November 06, 2013 @09:52AM (#6682926)
> Improved transaction management¶

> Django’s transaction management was overhauled. Database-level autocommit is now turned on by default. This makes transaction handling more explicit and should improve performance. The existing APIs were deprecated, and new APIs were introduced, as described in the transaction management docs.

> Please review carefully the list of known backwards-incompatibilities to determine if you need to make changes in your code.

> Persistent database connections¶

> Django now supports reusing the same database connection for several requests. This avoids the overhead of re-establishing a connection at the beginning of each request. For backwards compatibility, this feature is disabled by default. See Persistent connections for details.

Re:Django 1.6 released by mbell on Wednesday November 06, 2013 @10:31AM (#6683153)
It's hard to imagine using an ORM for anything high volume that just got around to adding (still very limited) connection pooling. I'd tend to think anyone overly concerned with performance would use SQLAlchemy, if they use any ORM at all.
Re:Django 1.6 released by mhurron on Wednesday November 06, 2013 @11:20AM (#6683438)
> I'd tend to think anyone overly concerned with performance would use SQLAlchemy, if they use any ORM at all.

Or they did connection pooling outside the development framework.

Re:Django 1.6 released by collyw on Wednesday November 06, 2013 @05:27PM (#6685961)
right tool for the job. Djangoś ORM is great for simple stuff. And it works with the admin interface (which is worth a lot). If You need something complex enough, use raw SQL.

The admin was too much to give up to swap the ORM to SQLAlchemy for me.

Re:Django 1.6 released by ingrownpsyche on Wednesday November 06, 2013 @11:25AM (#6683479)
I think a lot of people might've been using an external connection pooler, eg pgpool.