Skip to content

Proposal: Remove distributed-locking (for now) #9

@thomastaylor312

Description

@thomastaylor312

Hey all! Since we're wanting to move towards finalizing these interfaces, I wanted to propose that we remove the distributed locking interface for now. Below is a (roughly ordered by importance) list of reasoning behind this:

  • The proposal has no wit definitions yet. Adding another thing we have to all get agreement on will just prolong the process before we can get the wasi-cloud stuff in under the preview 2/0.2 umbrella
  • Although distributed locking needs are a common thing, I don't think it necessarily fits into scope for a first draft of wasi-cloud. It totally could be something we add in the future as people say they need the feature. It is also likely to be very specific depending on the system and the lock guarantees needed. Put another way, when people talk about the key items of functionality they need, I don't hear them asking for distributed locking and instead asking for stuff like blobstore and keyvalue
  • Most distributed locks are done in the cloud native space via some sort of keyvalue store. I can definitely see an argument for having an interface to distinguish between keyvalue and a lock

Thoughts from others? Totally fine to open a PR, but thought it would be good to discuss first

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions