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

Report newly transformed files #785

Open
BenGalewsky opened this issue Jun 6, 2024 · 0 comments
Open

Report newly transformed files #785

BenGalewsky opened this issue Jun 6, 2024 · 0 comments

Comments

@BenGalewsky
Copy link
Contributor

Problem

The client can only ascertain newly uploaded transform results by polling S3 bucket and see what objects have appeared since the last poll. This puts a strain on the Object Store server and doesn't scale once the bucket gets large.

Approach

The transform status REST endpoint can optionally report the files that are generated as part of the transform, but it needs the following enhancements to be useful in this context:

  • Need to record the hashed/shortened filename so that it's easy for the client to download from the object store
  • Need to record a timestamp of when the result was uploaded so the REST endpoint can support a ?filesSince parameter. The client will poll for new files since the last successful request
  • The transformer needs an essential fix to only report the file once the upload to S3 is complete
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