Re: Speed Improvements: Properties, Database Denormalization, Caching, Connection Pooling, etc.

2013-10-30 Thread Carlos D.
Note: one other thing is that the legacy DB we're using has a character varying (PostGres) type as its primary key, even though it's really just an integer that should probably be auto incrementing serial type. We're not adding anything new to this DB so the auto behavior isn't a big deal. It

Speed Improvements: Properties, Database Denormalization, Caching, Connection Pooling, etc.

2013-10-30 Thread Carlos D.
So, first thing: I come from a C++ background and I've been building my first site with Django. As I normally try to do in C++, I don't want to store any more information than I have to since that can lead to big problems with data consistency. In C++, I do this with private members / methods