Re: Big app, big db, all users are authenticated

2007-06-05 Thread and_ltsk
Thanks Marcin. I will try your ideas. --- On Mon 06/04, [EMAIL PROTECTED] < [EMAIL PROTECTED] > wrote: From: [EMAIL PROTECTED] [mailto: [EMAIL PROTECTED] To: django-users@googlegroups.com Date: Mon, 04 Jun 2007 09:09:30 -0700 Subject: Re: Big app, big db, all use

Re: Big app, big db, all users are authenticated

2007-06-05 Thread and_ltsk
Thanks Joseph. Middleware is very useful. --- On Mon 06/04, Joseph Heck < [EMAIL PROTECTED] > wrote: From: Joseph Heck [mailto: [EMAIL PROTECTED] To: django-users@googlegroups.com Date: Mon, 4 Jun 2007 09:41:29 -0700 Subject: Re: Big app, big db, all users are authent

Re: Big app, big db, all users are authenticated

2007-06-04 Thread Joseph Heck
Another thing to keep an eye out for is referencing one model from another - when loading up the choices for something that has > 1000 possible associated objects, then system will take a while to pull all those into place. Setting "raw_admin_id" in the model will help alleviate this, but you loo

Re: Big app, big db, all users are authenticated

2007-06-04 Thread [EMAIL PROTECTED]
Hi, On Jun 4, 3:48 pm, "and_ltsk" <[EMAIL PROTECTED]> wrote: > 1. 100MB per request - is it normal? not likely. I have apache processes serving a couple of different sites within separate python interpreters and they are all somewhere in the 10-30MB memory range. Common gotcha: make sure you h

Big app, big db, all users are authenticated

2007-06-04 Thread and_ltsk
Hello all, Some performance tips required. About: Centos 4.4 PIV 2.4 4GB mem Django 0.97 PosrgreSQL db 100+ tables, all connected by pyramidal foreignkey architecture One big models.py 500KB One big views.py 2200KB