Skip to content

Plotly streaming performance #294

Open
@pculbertson-bdai

Description

@pculbertson-bdai

Hi Brent! I wanted to get your advice on a somewhat strange use case -- I'm building an app where I'd like to plot a relatively large amount of data that I'm streaming from the Python side (specifically, like dozens of line plots that will update in real-time).

I've done this before using OpenGL, but would love to do something similar using viser + plotly. However, I'm (understandbly) seeing that trying to stream this amount of data (following your design pattern in the Plotly example) is overwhelming the webapp (it's dropping to like 5-10 FPS).

I've seen people suggest doing this using, e.g., Dash with client-side updates, but was curious if you had any suggestions on how to do large-scale real-time plotting in viser. Totally happy to just open a separate OpenGL window if that's the simplest solution also. Thanks!!!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions