Hi all,
Some context first:
I’m using Dash to make a simple annotation app. The user is presented with the contours of bacteria images.
Upon clicking on a contour, it assigns it the currently selected phenotype. This is stored as a phenoype
column in a pandas dataframe.
Once the contour is clicked, all the contours are re-drawn, changing color based on that phenotype value.
The issue
This works fine locally, but in a container with nginx+flask+uwsgi, I have multiple processes (uswgi workers) between which the dataframe is not shared, so the modification is only effective for the process that received the callback.
The question
How can I make sure that my data is correctly synchronized between processes in the app?
Hope I’m clear,
Thanks for the good work!