-
Notifications
You must be signed in to change notification settings - Fork 410
Adding callback patterns for generator client #993
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
Adding callback patterns for generator client #993
Conversation
624af76
to
d095c3c
Compare
cb6f060
to
aa9776b
Compare
aa9776b
to
d1d3cc9
Compare
56c9d16
to
835d078
Compare
@happyandslow if this is ready for review, you can change to ready status. |
The current implementation of client should be able to sustain QPS beyond 1000. Here is a simple benchmark to test its performance (running on my local macbook, Apple M3 Pro processor) roughly. Here is how to reproduce the benchmark (I'm using batch mode):
You could see most statistics from
The delays are mostly still positive up to Attaching analysis script included
|
Signed-off-by: Le Xu <[email protected]>
Signed-off-by: Le Xu <[email protected]>
Signed-off-by: Le Xu <[email protected]>
Signed-off-by: Le Xu <[email protected]>
Signed-off-by: Le Xu <[email protected]>
Signed-off-by: Le Xu <[email protected]>
63f36dd
to
63c120a
Compare
* adding futures wip * merge fix * update client async function * roll back to async io design * Remove client pool from parameters * analysis script update and timing bug fix --------- Signed-off-by: Le Xu <[email protected]> Co-authored-by: Le Xu <[email protected]> Signed-off-by: Modi Tamam <[email protected]>
* adding futures wip * merge fix * update client async function * roll back to async io design * Remove client pool from parameters * analysis script update and timing bug fix --------- Signed-off-by: Le Xu <[email protected]> Co-authored-by: Le Xu <[email protected]> Signed-off-by: Modi Tamam <[email protected]>
* adding futures wip * merge fix * update client async function * roll back to async io design * Remove client pool from parameters * analysis script update and timing bug fix --------- Signed-off-by: Le Xu <[email protected]> Co-authored-by: Le Xu <[email protected]>
Pull Request Description
This PR removes await from worker thread for async IO.
Related Issues
#903