WebAssembly / wasi-blobstore

15 stars 11 forks source link

Consistency guarantees? #33

Open bjorn3 opened 1 week ago

bjorn3 commented 1 week ago

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:

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 commented 1 week ago

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?