Skip to content
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

Java driver benchmarks #11

Draft
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

Bouncheck
Copy link

@Bouncheck Bouncheck commented Jul 26, 2022

Adds 3 separate java-driver benchmarks.

Java-driver-3.x and java-driver-4.x benchmarks were inspired by gocql and cpp implementations.
They use multiple threads with blocking execute calls. The intent was to make them similar enough to other implementations thus more comparable with them.

Java-driver-3.x-async runs config.concurrency many Futures that will chain with itselves using callbacks until all config.tasks request will be sent. Tasks are split evenly except for last <division remainder> tasks which are additionally assigned to single future.

Fixes #8.

@cvybhu
Copy link
Owner

cvybhu commented Jul 26, 2022

Thank you for the contribution!

@avelanarius you're the most familiar with java driver, could you review when you get a moment?

@Bouncheck
Copy link
Author

I've modified 3.x-async version according to reviews and updated PR message.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add Java driver
2 participants