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

Make call to processing backend async #12

Closed
jonodrew opened this issue Sep 18, 2021 · 2 comments · Fixed by #13
Closed

Make call to processing backend async #12

jonodrew opened this issue Sep 18, 2021 · 2 comments · Fixed by #13

Comments

@jonodrew
Copy link
Owner

As a user
I want to know my request is being processed
So that I can stop worrying and get on with my day

@jonodrew
Copy link
Owner Author

So there are a couple of approaches here. Thinking out loud, we could:

  • use Celery and Redis for asynchronous processing. This introduces more complexity, but not much. Redis instances are cheap - there's a free tier on Heroku - but running it locally probably means using something like docker-compose
  • alternatively, the request could be sent and the user emailed a copy of the completed matchings. However, this routes the data through more points and, given that the data is deleted as quickly as possible, means that it may never get through.

@jonodrew
Copy link
Owner Author

On reflection, I'm going to do docker-compose for local dev and use a hosted redis server in production

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 a pull request may close this issue.

1 participant