On Oct 16, 4:59 am, Ramdas S <ram...@gmail.com> wrote:
> On Thu, Oct 15, 2009 at 11:11 PM, Christophe Pettus <x...@thebuild.com>wrote:
>
>
>
> > On Oct 15, 2009, at 10:36 AM, Ramdas S wrote:
>
> > > I am currently running all my sites on modwsgi apache! Though I
> > > cannot complain that the performance is bad, I would like to have
> > > more.
>
> > Are you certain that the web server is the performance bottleneck? In
> > my experience, it rarely is.
>
> That argument aside, can we get an answer?
But what he states is very important and shouldn't just be ignored.
Now, I am sure someone will respond about Tornado, but have you even
made an attempt to tune your Apache/mod_wsgi installation?
Also be aware that the Tornado benchmarks are quite misleading.
Although they given an impression that it runs up to 4 times quicker
than Apache/mod_wsgi that is not actually true and it certainly
doesn't mean your full application stack is magically going to run 4
times quicker.
If you compare like applications on top, unlike what they did in
comparing a minimal native hello world program with heavyweight Django
(in comparison), you will get results which are quite similar. On
MacOS X with an untuned Apache installation, Tornado is actually
slower than Apache/mod_wsgi when comparing a Tornado hello world
application with a WSGI hello world application.
That all said, if you still want to believe their slanted benchmarks
then that is fine. Just make sure you are choosing one hosting
mechanism over another based on what you perceive is usability as far
as ease of installation, configuration and management. It is quite
pointless to make decisions on just benchmarks as no single benchmark
will really give you the full picture and as other person pointed out
the web server is usually never the bottleneck.
Thus, chasing better performance, which likely will amount to less
than a few percent difference in the context of the complete
application stack, by shifting to another hosting mechanism is likely
more to just waste time which you could spend on fixing up the
performance of your application and database access.
Graham
--~--~---------~--~----~------------~-------~--~----~
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
django-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---