Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Introduce caching for dataframes #13

Draft
wants to merge 168 commits into
base: main
Choose a base branch
from
Draft

Introduce caching for dataframes #13

wants to merge 168 commits into from

Conversation

yyyxam
Copy link
Collaborator

@yyyxam yyyxam commented May 20, 2024

Introduces flask-caching with a FileSystem cache backend. This stores the dataframe that's underlying the scatter3d figure in a server-side cache (opposed to the previous client-/browser-cache in dcc.Store-component). Should reduce network traffic, BUT plot updates like slice_plot still transfer the complete figure (which contains the dataframe). This is a bottleneck for dataframes with like 30.000 points (=*4 entries) that could be circumvented by clientside updates of the figure (for expensive updates like this)

Other changes:

  • minor design changes to fit color-scheme, make things more readable and aligned
  • restructuring of the code base
  • included multi-user support (session based uploads, downloads and caching)
  • ez gunicorn setup comment

RandomDefaultUser and others added 30 commits April 4, 2023 14:42
…TypeError'-exception to catch these new upload-errors | added collapsable for list of uploaded atoms
…mala" | fixed energy-titles | plotted atoms are outlined | removed plot-choice (on a surface level)
…x/opacity bug | 'optimized' range sliders in tools slightly (except for density)
…|| disabled interactivity with orientation plot
… positioning of loading Spinner is last important todo
yyyxam and others added 28 commits June 8, 2024 22:13
…onversion to utils.py; tie up some loose ends
…to src. Clean up inference_script. Dynamic atom_limit-warning and corrected wording
prep for v0.3.0 release
@yyyxam yyyxam marked this pull request as draft June 24, 2024 23:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants