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

Consistency guarantees? #33

Open
bjorn3 opened this issue Nov 14, 2024 · 1 comment
Open

Consistency guarantees? #33

bjorn3 opened this issue Nov 14, 2024 · 1 comment

Comments

@bjorn3
Copy link

bjorn3 commented Nov 14, 2024

If the blob store is used in a distributed system what consistency guarantees does a wasi-blobstore implementation need to guarantee to be considered an implementation conforming to this specification? For example:

  • Is a client guaranteed to read the data it has previously written (if there is no later write by another client)?
  • Is there any ordering guarantee between reads/writes within a single container? (so eg if you have a program which creates a new object and after that updates an index in another object referencing the newly created object is a concurrent reader guaranteed to be able to read the new object once the index contains a reference to the new object)
  • ...

See also https://en.wikipedia.org/wiki/Consistency_model for a whole bunch of consistency guarantees. And https://jepsen.io/ for a whole lot of testing of distributed systems where many are shown to fail even on their documented consistency guarantees.

@bjorn3 bjorn3 changed the title Consistency guarantees Consistency guarantees? Nov 14, 2024
@bjorn3
Copy link
Author

bjorn3 commented Nov 14, 2024

Something somewhat related: Should timestamps be guaranteed to be monotonic with respect to the order in which the object store received the object creation request or are clock adjustments due to time synchronization allowed or because the object store itself consists of multiple machines with slightly different clocks?

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

No branches or pull requests

1 participant