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

Async Upload with Celery #8

Open
bbengfort opened this issue Oct 27, 2015 · 0 comments
Open

Async Upload with Celery #8

bbengfort opened this issue Oct 27, 2015 · 0 comments

Comments

@bbengfort
Copy link
Member

Right now the file upload process is synchronous and the following computations are performed:

  1. Read the file for the hash value
  2. Read the file for length, no. dimensions
  3. Insert record/collision into database
  4. Store on S3 if success.

Especially since we're moving to dropzone.js (#3) we might as well make this computation chain asynchronous using Celery tasks. This will allow us to do better detection and also give variable status reports for different file uploads.

This might help some of the problems/questions cited in #7.

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

No branches or pull requests

2 participants