Week 15 has ended on an upbeat. Most of the week was finally dedicated to the client, getting its map UI to tolerable levels, and tweaking the forms to be easier on users.
First order of business was to move away from Flask‘s Werkzeug engine onto a production server. Werkzeug is what ran the client thus far, a small and lightweight server designed for development (only!) purposes and not able to scale beyond a few users. However, Gunicorn is another beast entirely, and combined with Nginx it can scale indefinitely. Or so it was advertised. Trouble began almost immediately after I told Gunicorn “Hey, buddy, why limit yourself to only one worker thread? Use 5!”
Apparently Gunicorn does not support sticky sessions. We need our sessions to be “sticky”, ie...Read More