What is the fastest as a django production server: twisted.web2 vs. apache mod_wsgi

I want to deploy my django project, which is better (in terms of performance) of these two deployment methodologies:

I knew that mod_wsgi was recommended by django developers, but I believe twisted is more efficient when running multiple instances of django.

+7
django twisted apache mod-wsgi
source share
1 answer

As already mentioned, installing a server deployment will not be a bottleneck at this stage, however, I still feel that it is definitely worth choosing and studying something now, which you most likely will continue to use in the future.

This recent test has generated a lot of discussion:

http://nichol.as/benchmark-of-python-web-servers

Read the comments as well as the numbers to understand how tests never display the whole picture.

For a Nginx web server, this is not an IMO problem.

For the WSGI server, I like uWSGI because it seems impressive and I feel that it has a large part of the community. uwsgi is well supported by nginx.

Hope this helps:> Let us know what you're going for.

+17
source share

All Articles