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

Rethink the execution flow of the system using RPC #2

Open
zudsniper opened this issue Feb 20, 2023 · 0 comments
Open

Rethink the execution flow of the system using RPC #2

zudsniper opened this issue Feb 20, 2023 · 0 comments
Assignees
Labels
deployment This issue is related to the deployment flow from git to production efficiency Changes the efficiency of execution in some way (time or space) enhancement New feature or request

Comments

@zudsniper
Copy link
Member

Concept

Remote Procedure Call, or RPC, would be perfect for our current use case.

EXAMPLE

pybuy starts up...
sends message to tf2ez_RPC rabbitmq queue, asking for a query job to start. AKA, pybuy is the producer here.

scrape_tf2ez is a consumer. It, once consuming this request, uses the provided callback to inform pybuy that the task has been dispatched after dispatching a scraper job.


Conclusion

While this is a rather significant refactor, it would make the system a lot more... sensible.

@zudsniper zudsniper added deployment This issue is related to the deployment flow from git to production efficiency Changes the efficiency of execution in some way (time or space) enhancement New feature or request labels Feb 20, 2023
@zudsniper zudsniper added this to the stf-scrape: tf2ez MVP ready milestone Feb 20, 2023
@zudsniper zudsniper assigned Osc44r and zudsniper and unassigned Osc44r Feb 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
deployment This issue is related to the deployment flow from git to production efficiency Changes the efficiency of execution in some way (time or space) enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants