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

Background job distribution & locking #161

Open
jakehobbs opened this issue Sep 8, 2021 · 1 comment
Open

Background job distribution & locking #161

jakehobbs opened this issue Sep 8, 2021 · 1 comment

Comments

@jakehobbs
Copy link
Member

Currently background jobs are only ran on the main instance of the ADB. This is enabled via an environment variable.

It would be more robust to have some sort of distribution system for background jobs. Maybe this could be done via a simple "jobs" table in the database, some sort of locking mechanism, or a message broker.

@jakehobbs
Copy link
Member Author

This looks interesting: https://github.com/ehsaniara/gointerlock

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