Forest Bond wrote: >>> - How are you running your Django app? Mod_python? FastCGI? >>> - What web server are you using? >>> - What's the nature of the dynamic Django request you are measuring? >>> How many DB queries does it make? Is DEBUG mode off? >>> - What kind of numbers do you get when you serve a simple and small >>> HTML file statically from your Web server without Django? >>> - What kind of numbers do you get when the Django view you are >>> benchmarking goes directly to a simple template (i.e. no DB queries)? >>> - Are you using memcache? >>> >> 1. mod_python >> 2. apache 2.2.4 >> 3. I'm using funkload and ab to measure the requests per second of one >> of the base pages within the dynamic part of the website >> 4. When I hit a static page in the same way (using ab), I get 6500 >> requests per second. >> 5. This is without memcached, or any other caching. >> > > I'm not all that qualified to comment as I've never done this sort of testing, > but I do wonder if the performance you are seeing may not be all that > unreasonable, given that no caching is currently being performed? Using > memcached has been known to improve performance dramatically. > > -Forest > I think a large part of my question really comes down to "Is 300 requests per second reasonable for an uncached django site on a single machine?". Maybe it is.
We are looking at using the memcached API in our code, and I'm sure we will get a speedup there. But before we start down that route, I wanted to make sure we weren't doing any silly on the raw site. I think my next step is to use the profiler and find out why the site is so CPU intensive. Thanks for all the help. 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 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 -~----------~----~----~----~------~----~------~--~---