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

Serializable Snapshot Isolation #40

Open
CMCDragonkai opened this issue Jun 30, 2022 · 0 comments
Open

Serializable Snapshot Isolation #40

CMCDragonkai opened this issue Jun 30, 2022 · 0 comments
Labels
development Standard development r&d:polykey:supporting activity Supporting core activity

Comments

@CMCDragonkai
Copy link
Member

Specification

Currently there's still a concurrency anomaly even with SI. And that's called write skew.

SSI is an innovation on top of SI that completely removes concurrency anomaly.

I'm not sure how difficult it is to implement, cockroachdb did it on top of rocksdb, but I cannot find the source.

Doing this, should eliminate any need to have DBTransaction.getForUpdate, it would be sufficient to just use get.

This trades off a little higher conflict contention, because there can be some false positives when throwing a transaction conflict.

At the end of the day, PCC locking should be used anyway to prevent contention in these scenarios.

Additional context

Tasks

  1. ...
  2. ...
  3. ...
@CMCDragonkai CMCDragonkai added the development Standard development label Jun 30, 2022
@teebirdy teebirdy added the r&d:polykey:core activity 1 Secret Vault Sharing and Secret History Management label Jul 24, 2022
@CMCDragonkai CMCDragonkai removed the r&d:polykey:core activity 1 Secret Vault Sharing and Secret History Management label Jul 24, 2022
@CMCDragonkai CMCDragonkai self-assigned this Jul 10, 2023
@CMCDragonkai CMCDragonkai added the r&d:polykey:supporting activity Supporting core activity label Jul 10, 2023
@CMCDragonkai CMCDragonkai removed their assignment Sep 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
development Standard development r&d:polykey:supporting activity Supporting core activity
Development

No branches or pull requests

2 participants