Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/webassembly/wasi-distributed-lock-service
https://github.com/webassembly/wasi-distributed-lock-service
Last synced: 15 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/webassembly/wasi-distributed-lock-service
- Owner: WebAssembly
- Created: 2022-09-13T14:49:07.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-01-06T21:46:09.000Z (10 months ago)
- Last Synced: 2024-05-09T12:50:25.314Z (6 months ago)
- Size: 4.88 KB
- Stars: 3
- Watchers: 15
- Forks: 4
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# `wasi-distributed-lock-service`
A proposed [WebAssembly System Interface](https://github.com/WebAssembly/WASI) API.
### Current Phase
`wasi-distributed-lock-service` is currently in [Phase 1](https://github.com/WebAssembly/WASI/blob/main/Proposals.md#phase-1---feature-proposal-cg).
### Champions
- [Dan Chiarlone](https://github.com/danbugs)
- [David Justice](https://github.com/devigned)
- [Jiaxiao Zhou](https://github.com/Mossaka)### Phase 4 Advancement Criteria
`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.
## Table of Contents
- [Introduction](#introduction)
### Introduction
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.
### TODO
This readme needs to be expanded to cover a number of additional fields suggested in the [WASI Proposal template](https://github.com/WebAssembly/wasi-proposal-template).