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

perf: Improve data download performance #1231

Merged
merged 6 commits into from
Oct 24, 2023

Conversation

bprusinowski
Copy link
Collaborator

@bprusinowski bprusinowski commented Oct 23, 2023

Closes #503.

This PR improves the performance of data download by:

  • moving the CSV / XLSX file creation from server- to client-side, to avoid sending the data back and forth,
  • parallelizing downloads of components and observations.

It also fixes displaying of empty creators by not showing such tags at all in the dataset browse section.

Impact

The time to download a full Electricity tariff per provider dataset went down by 25% (from ~6 to 4:30 minutes).

@vercel
Copy link

vercel bot commented Oct 23, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
visualization-tool ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 24, 2023 10:32am

@bprusinowski bprusinowski merged commit fff1c84 into main Oct 24, 2023
3 checks passed
@bprusinowski bprusinowski deleted the perf/move-data-download-to-api-route branch October 24, 2023 10:28
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

Successfully merging this pull request may close these issues.

Move actual data download to API route
1 participant