Multi-Page Concurrent Data

Hi Streamlit Community,

I’m new to streamlit and am after some advice for best approach for concurrently processing datasets for a multi-page app (or sidebar navigation).

I would like the data which drives the visualisations on each page to be updated concurrently so that when the user clicks on a different page, the data is there ready to generate the page/visualisation. The motivation for this is that:

  • The different data sources each take a while to import from source.
  • My data and visualisations are constantly updating.

Would any of the following would be suitable: aysnc, threading or multi-processing, are there pros and cons for each or is streamlit not really suitable for this use-case?

Thanks

Iain