Memory provisioning

I am using an in memory database for my streamlit app. I am curious how does streamlit handle provisioning. If two users are using the application, is there a separate instance for each of them or does the database get shared across the sessions? Asking because ofcourse shared resources are a security risk.

What are you doing exactly?

If you are just talking about reading and writing values in st.session_state, that will be unique per session.