-
Notifications
You must be signed in to change notification settings - Fork 16
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
Read each partition individually rather than using WHERE {set} IN query #66
base: master
Are you sure you want to change the base?
Conversation
Yep I am :) I'll upload the result of test in a couple of days |
Sorry for the late reply. We've done some tests and proved that it reduces latency drastically. |
Please squash the commits so that in the history you don't fix errors in commits that you've introduced just before. |
Signed-off-by: fodo <[email protected]> add missing consistency level. Signed-off-by: fodo <[email protected]> add missing findNext Signed-off-by: fodo <[email protected]>
@haaawk done |
Thanks @0xF0D0 |
@haaawk is there any further action needed? |
We're having problem to replicate your performance results @0xF0D0. Would you be open to have a video call with us? We would like to try to understand why we don't see the same results. |
@0xF0D0 of course :) please send invite to [email protected]! |
Is there problem sending invitation? I haven't got any mails... could you check it again? FYI. My test env is
You can check on default driver, Scylla connector consumes with latency over 100ms, but with this patch it reduces to under 10ms |
I've sent an invite over the email @0xF0D0. |
track |
@avelanarius ping |
@avelanarius any chance to pick this up? If it works better with |
How will the user know which value to use? Testing of their own workload against their own cluster (and its version) ? |
I guess so. Apparently that's what @0xF0D0 did and they are using this PR on production for 6 months now (discussion on Slack). |
@kbr-scylla |
@avelanarius - ping |
This PR fixes cdc stream read query to read each stream individually by having Driver3Reader per stream.
Every single Driver3Reader now uses prepared statement which is
where equals ?
notwhere in ?
scylladb/scylla-cdc-source-connector#15