I am working on a web server and have set up my Dash dashboard where a user uploads a file, which is then stored in a div (as described in https://plot.ly/dash/sharing-data-between-callbacks). The user makes some column selections, which are also stored in a div and the relevant data visualised.
I would like to have a button that pipes the data to an intensive function on another machine (a mule server) so as to not crash or slow down the web server. Ideally, this data would be on a SQL database but for now I am experimenting so it is a simple pandas dataframe stored on the webbrowser in a div.
Is there a way to pipe data to an external Python? Flask maybe? How might I go about this?