What is the best system to run django?

What is the best system to run django, operating system, database, web server, etc., given the reliability, simplicity, cost of maintenance, reliability, evaluation, updating applications and updating django and other system component?

+3
source share
5 answers

I recommend:

  • Nginx to serve static content and proxy requests to Apache
  • Apache + mod_wsgi to start Django
  • PostgreSQL as a database
  • Debian / Ubuntu, they have great python packages.

The following is a deployment guide.

+7
source

, , , Apache mod_wsgi django - (lighttpd?) .

, - Google App Engine, , , , .

+2

, Google App Engine Django. "Debian vs some other distro", "PostGre vs MySQL" "lighttpd vs nginx", App Engine, , , , .

, Google AppEngine ( ), , App Engine . , , App Engine , .

+1

It is not possible to determine which of the best systems to run Django, but IMO : if you expect a lot of page views, go with nginx / lighttpd for the web server instead of Apache if you don't need these trendy Apache modules.

However, since I'm used to apache, it was faster for me to configure the site to run on Apache and switch to nginx when there were performance problems.

0
source

Source: https://habr.com/ru/post/1727866/


All Articles