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

Optimize json storage #985

Open
Bisaloo opened this issue Sep 28, 2021 · 4 comments
Open

Optimize json storage #985

Bisaloo opened this issue Sep 28, 2021 · 4 comments

Comments

@Bisaloo
Copy link
Member

Bisaloo commented Sep 28, 2021

The angular app is getting quite slow. This is directly related to the size of forecasts_to_plot.json.

When inspecting forecasts_to_plot.json, one can notice that data is not stored in an optimal way and there is a lot of redundant data.

We should think about how to re-organize it.

The only problem is that this will require changes in the angular app as well.

@Bisaloo

This comment has been minimized.

@Bisaloo

This comment has been minimized.

@Bisaloo

This comment has been minimized.

@Bisaloo
Copy link
Member Author

Bisaloo commented Sep 30, 2021

fs::file_info("viz/forecasts_to_plot.json")$size
#> 100M
fs::file_info("viz/forecasts_to_plot.json.gz")$size
#> 3.89M

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant