Mutual exclusion

Platform-independent lock-based mutual exclusion via standard HTTP.

Click on any of the lock links below and they will tell you whether you acquired the corresponding lock and for how long, or if someone else acquired it before you and its has not yet expired. If you managed to acquire a lock, no one else will be able to acquire it before the timer runs out.

Locks: 1 2 3 4 5

Command line example

Try to acquire lock 1 using cURL and htmlq:
$ curl -s https://mutex.solutions/demo/lock/1 | htmlq --text title
with two possible results:
Locked
or
Not locked

Additional features

If you would like support for:

or anything else, get in touch!

Terms of use

THE SERVICE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SERVICE OR THE USE OR OTHER DEALINGS IN THE SERVICE.