A proposed WebAssembly System Interface API.
wasi-distributed-lock-service
is currently in Phase 1.
wasi-distributed-lock-service
should have at least two implementations (i.e., from service providers, and or cloud providers), and, at the very minimum, pass the testsuite for Windows, Linux, and MacOS.
The wasi-distributed-lock-service
world aim to provide a set of generic interfaces for distributed lock services which provide mechanisms to ensure that only one process can mutate a particular state at a time. They are often used to prevent race conditions in scenarios where two or more processes attempting to update the same state at the same time that could result in data inconsistencies.
For example, in a e-commerce application, when a popular item is back in stock, a distributed lock service can be used to ensure that stock is not oversold by multiple processes attempting to update the stock count at the same time.
This readme needs to be expanded to cover a number of additional fields suggested in the WASI Proposal template.