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

Fixed point read latch #26

Merged
merged 1 commit into from
Sep 10, 2021
Merged

Fixed point read latch #26

merged 1 commit into from
Sep 10, 2021

Conversation

kelindar
Copy link
Owner

Fixed the latch of point read (SelectAt()) on both collection and the transaction. Transaction point read semantics were different, which is confusing. Now they are both essentially the same. I also removed completely lock contention from the benchmark, now using an interation number instead of atomic.

With this change, the point read now scales quite well.

   WORK  PROCS          READ RATE          WRITE RATE
100%-0%      1   17,320,162 txn/s             0 txn/s
100%-0%      2   27,678,524 txn/s             0 txn/s
100%-0%      4   37,998,651 txn/s             0 txn/s
100%-0%      8   52,135,263 txn/s             0 txn/s
100%-0%     16   39,878,285 txn/s             0 txn/s
100%-0%     32   31,037,293 txn/s             0 txn/s
100%-0%     64   27,923,347 txn/s             0 txn/s
100%-0%    128   27,015,623 txn/s             0 txn/s
100%-0%    256   27,004,417 txn/s             0 txn/s
100%-0%    512   27,025,849 txn/s             0 txn/s

@kelindar kelindar merged commit 97eaeca into main Sep 10, 2021
@kelindar kelindar deleted the selectAt branch September 10, 2021 22:43
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.

1 participant