Switch from uwsgi to bjoern
Created by: NotSpecial
In the production setup, uwsgi
was causing troubles by dropping connections
if to many requests occured.
I suspected bad configuration but was not able to fix it.
Searching for a solution, I came across bjoern, a lightweight wsgi-server based on libev.
bjoern solves our problems:
- no dropped connections anymore
- bonus: smaller image
- bonus: runs with less memory
- bonus: no configuration required
Additionally, a .dockerignore
is added to clean up the image a little. Essentially it just copies the .gitignore