DEV Community

Discussion on: Flask Tutorial - The Interactive way, Ask Me Anything for three hours

Collapse
 
sm0ke profile image
Sm0ke

Hello,
Flask provides the embedded server mostly for development purposes. As mentioned on the official docs regarding the deployment, "Flask’s built-in server is not suitable for production".

Besides this warning, I see two major problems:

  • you cannot enforce SSL and the connections will be served via HTTP
  • The Flask core is not build to handle concurrency

Even is not a simple task to configure a server, once you learn to do it, your application will be faster and secure.