E
E
Emil Revencu2015-11-23 06:56:59
Flask
Emil Revencu, 2015-11-23 06:56:59

Why do you need to deploy a Flask project if it works through www.mysite.com:5000?

Why do you need to deploy a Flask project if it already works through www.mysite.com:5000?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander, 2015-11-23
@bIbI4k0

At 5000, a development server is deployed. It is slow, unsafe, inferior. If you make 100 requests to it at the same time, they will be processed one after the other sequentially.
If you do it wisely - run the application server (uwsgi,) in several threads and put nginx in front of it, distributing requests among these threads (workers), you will get a much faster, more flexible and reliable system.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question