An open API service indexing awesome lists of open source software.

https://github.com/fals/distributed-lock

Two examples of how to implement distributed locks
https://github.com/fals/distributed-lock

Last synced: 9 months ago
JSON representation

Two examples of how to implement distributed locks

Awesome Lists containing this project

README

          

## ⚠️Post about the implementation here

Please, read before using it.

https://blog.fals.io/2020-10-13-distributed-lock/

# Build

```
> docker-compose -f docker-compose-redis.yml build
```

# Execute

To scale the consumers to test it up, you can use the scale flag

```
> docker-compose -f docker-compose-redis.yml up --scale consumer=3
```