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 workers into a queue system #21

Open
Electroid opened this issue Jun 1, 2018 · 0 comments
Open

Refactor workers into a queue system #21

Electroid opened this issue Jun 1, 2018 · 0 comments

Comments

@Electroid
Copy link
Owner

Electroid commented Jun 1, 2018

Instead of having all workers poll from typically the same data set, separate them into publishers and consumers via a network queue. Publishers take third-party APIs (DigitalOcean, Github, etc.) and publish their JSON data for consumers to react and change states.

Potentially keep a database cache of all the recent JSON objects (Redis, Mongo, or maybe SQL?)

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