I’d like to separate the (real-time) data loading (in python) from streamlit app running. As multiple users access the web page I don’t like to load the data multiple times. Rather I’d like to make all those sessions use the data saved in a csv file by a separate data loader (which is based on API request).
It looks like the community cloud allows only one app running. Then, how can I achieve my goal?
Thanks for your reply. ChatGPT actually suggested that way of threading. Looks like I can’t avoid using it. Will go for the caching. The link you suggested gives great resources to walk through. Appreciate it again.