-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
Bench-tps depends too much on forwarding and floods the network #3149
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. |
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: