This repository has been archived by the owner on Jan 13, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 4.5k
Bench-tps depends too much on forwarding and floods the network #3149
Milestone
Comments
Most of the items discussed in this issue are done. The outstanding item is Wondering if we should indeed be doing this, given the frequency of the leader rotation. The client may not catch the current leader with certainty. |
@garious any thoughts about my previous comment? |
@pgarg66 Sounds great! Yes, agreed on punting on the RPC endpoint suggestion. That idea predates the more ambitious (and higher TPS!) plan of sending transactions to the nearest validator, letting it batch transactions, and then sending large batches to the leader. |
Thanks @garious , I'll close the issue then. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Problem
Client code doesn't know what node will be the leader by the time its transaction arrives and so depends on validator forwarding to get the transactions to the right place. To make matters a little worse, the validator isn't much smarter and assumes zero network latency. That can cause infinite forwarding as each transaction arrives a hair too late and needs to be forwarded again.
Proposed Solution
recent_blockhash
The text was updated successfully, but these errors were encountered: