Cheng,

 I use Linode and Gentoo as well ! I'm using Apache and MySQL, with
memcached.

 I've spent a lot of time optimizing my setup, so I'm happy to help. The
two most important things for me were:

- Reduce database usage. Put some code in django.db.backends.postgresql
to print out all the sql that gets executed. Change your code to reduce
this, by caching data in memcached. A hit on your home page shouldn't
involve any database traffic at all.

- Move the images / media off your Linode. This will make a _huge_
difference. I use Amazon S3 to serve my media:
http://www.holovaty.com/blog/archive/2006/04/07/0927

 Let me know how you get on.

 Regards,
 Graham.

Cheng Zhang wrote:
> Graham
> 
> I am interested to know about your UML virtual server's configuration. 
> We use UML VPS from Linode [1]. With the plan of 150Mhz+ CMR, 150MB, our 
> Django app is running on Gentoo 2006.1, Postgres 8.1.5, Lighttpd w/ 
> scgi. The speed to the site is visually slow.
> 
> [1] http://www.linode.com/products/linodes.cfm
> 
> 
> -Cheng Zhang
> Gentoo/PostgreSQL/Lighttpd/Python/Django/jQuery Powered
> (Web) http://www.aragonconsultinggroup.com
> http://www.ifaxian.com
> 1st Django powered site in Chinese ;-)
> http://www.aiyo.cn
> Our 2nd Django powered site in Chinese
> 

--~--~---------~--~----~------------~-------~--~----~
 You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to