Skip to content

Entries published on November 27, 2007

1 entry published on this date. See also: all entries published in November 2007, full archive.

Performance tips

Nearly two years ago, Jacob posted a round-up of useful tips for Django performance, geared mainly at the non-Django portions of your stack; suggestions like having dedicated media and database servers, memcached, plenty of RAM and database tuning really aren’t Django-specific. Two years later, all of his tips are still relevant and will still have an impact on the performance of your Django-based stack.

This leaves wide open the question of how to squeeze every last bit of performance out of Django — and your Django-based applications — though, so today let’s take a look at some useful and suitably general techniques you might want to try when you know you need to squeeze every last drop of performance out of Django or your application.

Caching

It should go without saying that caching can be your best friend; anything which cuts down on the number of database queries or expensive calculations …

Entry published November 27, 2007. Read full entry.