-
Notifications
You must be signed in to change notification settings - Fork 289
Closed
Description
As the champion of the wasi:keyvalue, a WASI Phase 2 proposal, I am seeking the Spin support in implementing the full specification of the wasi:keyvalue proposal. This would allow us to gather insightful feedback on the design and help advance the proposal to the next stage.
Spin is an early adopter of wasi:keyvalue by implementing the wasi:keyvalue/store interface. Building on this, I propose that Spin extends its support to include the additional interfaces, specifically atomic and batch operations.
- The atomic interface offers atomic operations such as
incrementandcas, which would make Spin applications that require atomic operations to avoid race conditions possible. - The batch interface enables applications to operate on multiple keys at once, improving efficiency.