Are you serving static content from the same apache instance? Also, what kind of network connectivity do you have between your web and mysql servers? It sounds like apache might need some tuning in terms of thread parameters. Have you enabled caching yet? Turn on the cache framework site-wide and set your expiration period to 1 minute or something like that. You can go back and only enable it for views that you want cached later.
On Dec 11, 12:53 pm, Richard Coleman <[EMAIL PROTECTED]> wrote: > At work, we are developing a commercial website based on Django. It's a > fairly dynamic site (think social networking). I am doing the initial > load testing to estimate the number of servers we will need for the > production site. The production site will be load balanced using a pair > of BigIP boxes. > > When I stress test the dynamic part of the site, I am only getting about > 300 requests per second on my test setup. This is using two Dell 1950's > (one for web, one for mysql database). These are very powerful machines > (3.0ghz Xeons, 8 cores each, 16 gig of ram, 15k SAS drives, etc.) > > I've done all the standard performance tuning I find when reading > through various websites about django tuning. Is this the performance I > should expect. > > When I'm running the load test, the CPU on the web server gets > completely buried (even with 8 cores). The mysql server doesn't seem > loaded at all. Any suggestions on how to find the bottlenecks? > > I'm running Ubuntu 7.10 (server, 64 bit version). Django from a very > recent trunk. > > Thanks for any advice. > > Richard Coleman > [EMAIL PROTECTED] --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to [email protected] 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 -~----------~----~----~----~------~----~------~--~---

