My settings:
- Python 3.7.1
- Flask 1.0.2
- linux
- Anaconda3
Problem description:
I am running a flask app, and the backend loads a few hundred MB data to a global variable data
and it provide information to the front end. I have a server side session to store some user input such as the user selected dates, selected items, etc. currently, I am running the production mode w/ uwsgi (no nginx). It works fine. Except the following problem:
When multiple users are running the app from their browsers, one user see the other user's selections. To me it seems there is only one instance of the backend and when one user update their selections, it also affect other users.
Question: Do I have to use Nginx to allow multiple users to run the app without interference?