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: remove subscription and use internal interval #31

Merged
merged 7 commits into from
Sep 13, 2024

Conversation

ali-bahjati
Copy link
Contributor

@ali-bahjati ali-bahjati commented Sep 13, 2024

Subscription is really a bad way to interact with the agent. This PR changes the messaging structure to send all prices as a batch update in an configured interval to minimize agent <> publisher interactions. The pythd has undergone a rewrite because there's no async jsonrpc client library in python which supports batch requests.

Copy link
Contributor

@ayazabbas ayazabbas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@ali-bahjati ali-bahjati merged commit 5733f74 into main Sep 13, 2024
3 checks passed
@ali-bahjati ali-bahjati deleted the remove-subscription branch September 13, 2024 16:52
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 this pull request may close these issues.

2 participants