-
Notifications
You must be signed in to change notification settings - Fork 50
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
Add read batches with concurrency to datastream server #1760
base: zkevm
Are you sure you want to change the base?
Add read batches with concurrency to datastream server #1760
Conversation
We require contributors/corporates @KyrinCode to read our Contributor License Agreement, please check the Individual CLA document/Corporate CLA document |
1 similar comment
We require contributors/corporates @KyrinCode to read our Contributor License Agreement, please check the Individual CLA document/Corporate CLA document |
Hey @KyrinCode looks like we have one commit not signed here which will block us taking this. |
Thanks, I think now things going fine. |
@KyrinCode please sign all commits :) |
51790f1
to
a9e1ede
Compare
😢 Sorry, I'm not familiar with this. I added gpg sig to these PRs, hope it works fine now. |
…datastream-server
…datastream-server
The original
ReadBatches
indata_stream_server.go
is sequential and we need to wait quite a long time before resequencing. I add a new functionReadBatchesWithConcurrency
which decrease the time from 467s to 165s (65%) when reading 300 stress test batches from datastream. It actually can be used to replace the existing oneReadBatches()
, if you thought it ok.