On 6/28/07, Vance Dubberly <[EMAIL PROTECTED]> wrote:
> However resource  intensity  is a very big deal.  RAM is a huge factor
> here.

Thanks for clearing up the issue.

It's true that the process-per-request model is heavier in terms of
RAM than alternatives, but it's generally fast.  Maybe your available
processes are bottlenecking on something that could be addressed.

See here for an example of what you should expect:
http://www.davidcramer.net/curse/44/what-powers-curse.html
http://www.davidcramer.net/other/43/rapid-development-serving-500000-pageshour.html

They did make some changes to django for their specific need, but
they're not too exotic, and I doubt you're pushing that hard.

For more common performance tuning, have a look here:
http://www.jacobian.org/writing/2005/dec/12/django-performance-tips/

In particular, make sure KeepAlive is off for the django domain and
serve media with something lighter than apache.

...
>   Frankly I think a generic python application server similar to tomcat
> would do a world of good for python apps in general. Something similar to
> cherrypy... but this is beyond the responsibilities of the django community
> which have plenty great work left.

Similar to CherryPy but not it?  How come?  In any case, if you're
thinking this way, consider Aspen/Stephane:
http://www.zetadev.com/software/aspen/

It appears to be thread-per-request.  I haven't used it, but Chad's
been specifically trying to gain acceptance w/ the Django community;
I'm sure your interest would be appreciated.

>   I really wish I could talk more about this provide actual benchmarks

At least you've described, roughly, your beef.  I still think you
should be in the same ballpark, but I'm not even sure what you're
measuring.

Cheers,
  Jeremy

--~--~---------~--~----~------------~-------~--~----~
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