Session Sharing between multiple user concurrently

Hello Streamlit Community,

I’m new to Streamlit and would like to ask for your guidance on a use case I’m working on.

I aim to create a Streamlit application that allows multiple users to interact with a table and various UI components, such as checkboxes and radio buttons. My goal is to have changes made by one user reflected for all users in near real-time.

I initially connected my application to a database, but I’ve encountered issues with session synchronization when multiple users are interacting with the app at the same time. The options I’ve considered include:

  1. Periodically rerunning the application.
  2. Rerunning the user’s session before any interaction with the UI.

However, neither of these approaches provides the near real-time synchronization I’m looking for.

If anyone has experience with this or can offer suggestions on how to achieve real-time updates in a Streamlit app, I would greatly appreciate your insights. Thank you in advance for your help!

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