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

node websocket subscription has 15s delay and missing data #35489

Closed
ella-quicknode opened this issue Apr 3, 2024 · 1 comment
Closed

node websocket subscription has 15s delay and missing data #35489

ella-quicknode opened this issue Apr 3, 2024 · 1 comment
Labels
community Community contribution

Comments

@ella-quicknode
Copy link

Problem

Using websocket connections we observed 2 behaviours and these 2 issues.

Issue 1

Websocket subscription has an average of 15s plus delay for finalised commitment.
You can use this gist to replicate.

Issue 2

Websocket subscription has missing data.
You can use this gist to replicate.
In this gist, you can add multiple nodes in the array. Script will run for 1 min and output a table, it filter through unique txn hashes against each node and output the missing logs for that node with a timestamp.

I noted the behaviour was caused when node was lagging slightly then sync 2-3 slots very quickly, and for data stream through websocket doesn't seem to be able to handle it gracefully, hence the subscription will just miss some data.

@ella-quicknode ella-quicknode added the community Community contribution label Apr 3, 2024
Copy link
Contributor

github-actions bot commented Apr 3, 2024

This repository is no longer in use. Please re-open this issue in the agave repo: https://github.com/anza-xyz/agave

@github-actions github-actions bot closed this as completed Apr 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
community Community contribution
Projects
None yet
Development

No branches or pull requests

1 participant