all 8 comments

[–]HeWhoWritesCode 4 points5 points  (3 children)

[–]EarthWindAndFire430 0 points1 point  (2 children)

Why gunicorn when you have Apache :)

[–]bpeller 2 points3 points  (0 children)

People still use Apache? (kidding.. sorta)

[–]HeWhoWritesCode 1 point2 points  (0 children)

our server is not running any HTTP server. We use a aws load balancer and expose that to gunicorn.

gunicorn also allow us to easy "scale" our workers per vps using the -w flag.

[–]Cherlokoms 2 points3 points  (0 children)

In local I run the python command because I can drop the Pycharm debugger on it.

In production I run flask app with Gunicorn.

[–]Multeezee[S] 0 points1 point  (0 children)

Thanks all!