(Mar-19-2017, 06:42 PM)nilamo Wrote: I don't... think that's true. The built-in server is specifically only for development, for real-world usage isn't wsgi still the preferred method?I think you misunderstand,it's of course WSGI all the way.
The build web-servers(Django,Flask..) is only for development local.
What i mean you can build test all local,when happy with result and want to deploy.
Then do not use the build in web-server anymore.
As i mention Gunicorn.
Quote:Gunicorn 'Green Unicorn' is a Python WSGI HTTP Server for UNIX. It's a pre-fork worker model.It's a production ready WSGI web-server.
Gunicorn is a stand-alone WSGI web application server which offers a lot of functionality.
Then is normal to Nginx in front,
as (reverse-proxy) server that handle the task of serving these files and managing connections (requests).
Nginx relieves a lot of the load from the application servers, granting you a much better overall performance.