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

Plotting large datasets is too slow and crashes the app #7

Open
staticf0x opened this issue Apr 5, 2021 · 1 comment
Open

Plotting large datasets is too slow and crashes the app #7

staticf0x opened this issue Apr 5, 2021 · 1 comment
Labels
bug Something isn't working

Comments

@staticf0x
Copy link
Owner

No problem using ./manage.py generate_charts, but when it comes to Heroku, the limit is - I believe - 30s for a request and that's not enough for uploads with more than a year of data. Most of the time is spent actually drawing the chart. It can maybe be optimized a bit, but the problem will sooner or later reappear with even larger uploads.

@staticf0x staticf0x added the bug Something isn't working label Apr 5, 2021
@staticf0x
Copy link
Owner Author

Currently there's a hack in ds/lib/plot.py to reduce the number of plot points

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant