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

Add support for pubsub clients #25

Open
brson opened this issue May 21, 2022 · 1 comment
Open

Add support for pubsub clients #25

brson opened this issue May 21, 2022 · 1 comment

Comments

@brson
Copy link
Collaborator

brson commented May 21, 2022

Right now we are polling for updates, and for several chains we tend to fall behind and never catch up. Subscribing to new blocks may get more reliable pacing, and may be better for networks that ban us for our high query rate.

This will complicate the code considerably. Have to think about the design some more.

We can start with Solana and Ethers since those are the two protocols where we are having problems.

@brson
Copy link
Collaborator Author

brson commented Oct 16, 2022

We've improved our block request pacing and should be more reliable now. As long as we are mostly making non-redundant requests and mostly asking for blocks when new blocks are available, it's not obvious that pubsub would be more efficient.

We probably don't need to do this until some chain tells us we must.

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