Separate streamlit app from automatic data loading

Hello,

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 in advance.

If all users will use the same data, you might want to read about caching.

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.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.