Resource Usage in Code Workspace Published Dashboards

I understand per https://community.palantir.com/t/shared-resource-model-in-code-workspaces/469 that when multiple users access a Code Workspace “directly,” they each receive their own isolated session, which separately consumes compute resources (so five users accessing the same Code Workspace at the same time uses five times as much compute as one user).

However, what is the behavior when multiple users access a published Dash or Streamlit dashboard? Is there a single shared session that spins up when the first user opens the dashboard and spins down when the last user closes the dashboard, or is the model identical to other Code Workspace workflows, with compute usage increasing linearly with the number of simultaneous users?

Hi sandpiper!

Apologies for the late reply here. To answer your question, the resource usage model for Dash / Streamlit / Shiny Applications is the same as the model for workspaces (e.g. Jupyter / RStudio / VSCode). Each user viewing a published application, like Dash, Streamlit, Shiny etc will receive their own session - two users will not be cohosted into the same session.

So yes, to answer the latter part of your question, compute usage would increase linearly with the number of simultaneous users.

Hope this helps!

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