Proposal: implement the full `wasi:keyvalue` spec
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.
Question relevant to Spin: https://github.com/WebAssembly/wasi-keyvalue/issues/48
See also recent discussion in https://github.com/fermyon/spin/issues/2447
answered your question over wasi:keyvalue repo
I believe this is what @devigned has kindly put his hand up for!
I believe this is what @devigned has kindly put his hand up for!
That is correct.
chatted with @devigned who is working on implementation this week. just an FYI
Are we good to close this now that https://github.com/fermyon/spin/pull/2895 is in?
Are we good to close this now that #2895 is in?
I believe so for 0.2.0-draft2.
Yeah we can open new issues when the draft changes.
Thank you again for your work on this @devigned.