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.

@zmcNotafraid zmcNotafraid moved this from 📌CurrentWeek to 🏗 In Progress in CKB Explorer Jun 27, 2024
@zmcNotafraid zmcNotafraid moved this from 🏗 In Progress to ✅ Done in CKB Explorer Jun 28, 2024
@Keith-CY Keith-CY moved this from ✅ Done to 🏗 In Progress in CKB Explorer Jul 2, 2024
@zmcNotafraid zmcNotafraid added enhancement New feature or request and removed help wanted Extra attention is needed labels Jul 29, 2024
@zmcNotafraid zmcNotafraid moved this from 🏗 In Progress to 📌CurrentWeek in CKB Explorer Jul 29, 2024
@Keith-CY
Copy link
Member

Is this done?

@zmcNotafraid
Copy link
Member Author

Is this done?

Wait #419 to fix data firstly.

@zmcNotafraid zmcNotafraid moved this from 📌CurrentWeek to 👀 Testing in CKB Explorer Sep 2, 2024
@zmcNotafraid
Copy link
Member Author

@zmcNotafraid zmcNotafraid moved this from 👀 Testing to 🚩Pre Release in CKB Explorer Sep 9, 2024
@zmcNotafraid zmcNotafraid moved this from 🚩Pre Release to ✅ Done in CKB Explorer Sep 16, 2024
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