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

The pending transaction's rate limit of CKB node websocket push from pool #704

Closed
zmcNotafraid opened this issue Jun 18, 2024 · 6 comments
Closed
Assignees
Labels
enhancement New feature or request

Comments

@zmcNotafraid
Copy link
Member

In explorer infra, we have a websocket process to subscribe pending tx from ckb node. And another process to sync latest block.
In our latest test we push about 10k transaction to the pending tx pool, but from explorer's websocket process, we only receive about 3k transaction and save them to our database. Others were direct synced with latest block.
So does websocket can push all pending transactions in realtime and before these transaction merge into committed tx?

@zmcNotafraid zmcNotafraid added the help wanted Extra attention is needed label Jun 18, 2024
@Keith-CY
Copy link
Member

@zmcNotafraid

This comment was marked as resolved.

@zmcNotafraid
Copy link
Member Author

zmcNotafraid commented Jun 27, 2024

After test, the ckb node cpu has recached limit.So the pool syner only receiver 20k+ transactions then hang out.It is no relation with websocket gem.

@Keith-CY
Copy link
Member

Is this done?

@zmcNotafraid
Copy link
Member Author

Is this done?

Wait #419 to fix data firstly.

@zmcNotafraid
Copy link
Member Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: ✅ Done
Development

No branches or pull requests

2 participants