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

Refactor: write log events asynchronously via celery queue #66

Merged
merged 2 commits into from
May 27, 2020

Conversation

jayaddison
Copy link
Member

Describe the reason for these changes and the problem that they solve

Instead of synchronously writing event logs during API request processing, we should queue the events to be written to the database later.

Briefly summarize the changes

  1. Write the event type and fields to a celery task queue instead of directly to the database

List any issues that this change relates to
Relates to openculinary/infrastructure#8

@jayaddison jayaddison merged commit 9ac8412 into master May 27, 2020
@jayaddison jayaddison deleted the refactor/asynchronous-event-writer branch May 27, 2020 16:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant