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

[Export] Data Exporter #7

Closed
that-guy-iain opened this issue Sep 29, 2022 · 0 comments · Fixed by #32
Closed

[Export] Data Exporter #7

that-guy-iain opened this issue Sep 29, 2022 · 0 comments · Fixed by #32
Assignees
Labels
Accepted Feature Request New feature or request
Milestone

Comments

@that-guy-iain
Copy link
Member

that-guy-iain commented Sep 29, 2022

Description

Problem

It's common for companies to need to export data for their users to use via various formats. CSV/Excel/etc.

There are multiple ways of doing this. In foreground request process or background process.

One is providing the export file during a request and returning the file. This works at lower scales but often results in hacks as they grow. Generally either being increasing memory or timeouts. Both of which result in errors before being fixed and the same fix being done multiple times. The reality is, once it goes to a certain scale, it needs to be done in the background.

Once it's being done in the background, there are two options:

  • One is to send them to a page that checks to see if the file is ready and once it is provide it as a download. This provides a nice UX, however, is more complex and requires the user to stay on the page depending on how long the export is this may not be plausible.
  • Another one is to process it in the background and send the export as a file to the user. This is not so nice of a UX experience if the delay is short such as seconds or a minute or two.

Solution

Provide an export system that supports multiple file types.

File Type support:

  • CSV
  • Excel

Export types:

  • In the foreground in the process
  • In background with a download page when ready
  • In background with an email and an attachment when ready

Download page support:

  • Athena add a page to an Athena Section

Example

No response

@that-guy-iain that-guy-iain added the Feature Request New feature or request label Sep 29, 2022
@that-guy-iain that-guy-iain added this to the 2.1 milestone Sep 29, 2022
@that-guy-iain that-guy-iain linked a pull request Nov 1, 2022 that will close this issue
11 tasks
@that-guy-iain that-guy-iain self-assigned this Nov 26, 2022
@that-guy-iain that-guy-iain changed the title [Common] Data Exporter [Export] Data Exporter Nov 27, 2022
that-guy-iain added a commit that referenced this issue Dec 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Accepted Feature Request New feature or request
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

1 participant