neurobagel / digest

Web dashboard for neuroimaging-derived and phenotypic datasets
https://digest.neurobagel.org
MIT License
2 stars 2 forks source link

Optimize app speed #121

Open alyssadai opened 7 months ago

alyssadai commented 7 months ago

Even though the dashboard is now hosted on our cloud server instead of a third-party platform, there is still some noticeable delay when loading and exploring large input tables.

Here are some potential ways to improve the performance:

Ref: https://community.plotly.com/t/slow-rendering-of-large-tables/41596/4

Ref: https://community.plotly.com/t/slow-load-time-on-dataset/75798/2

Ref: https://community.plotly.com/t/show-and-tell-server-side-caching/42854

Refs:

Ref: https://community.plotly.com/t/slow-noticeable-callback-execution-when-updating-multiple-graphs/16739

Ref: https://community.plotly.com/t/uploading-relatively-small-files-is-taking-too-long-in-dash-plotly/32785/6

Ref: https://community.plotly.com/t/handling-a-large-csv-file-with-dash-datatable/72428/3

polars instead of pandas?

See also

https://dash.plotly.com/performance https://dash.plotly.com/dash-enterprise/scale?de-version=5.2 https://strange-quark.medium.com/improving-performance-of-python-dash-dashboards-54547d68f86b

github-actions[bot] commented 4 months ago

We want to keep our issues up to date and active. This issue hasn't seen any activity in the last 75 days. We have applied the _flag:stale label to indicate that this issue should be reviewed again. When you review, please reread the spec and then apply one of these three options: