https://github.com/dmitrymomot/distlock
Go module for distributed locking
https://github.com/dmitrymomot/distlock
distributed-locking distributed-systems go golang gomodules redlock
Last synced: over 1 year ago
JSON representation
Go module for distributed locking
- Host: GitHub
- URL: https://github.com/dmitrymomot/distlock
- Owner: dmitrymomot
- License: apache-2.0
- Created: 2021-03-10T08:30:36.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2021-03-10T10:05:39.000Z (about 5 years ago)
- Last Synced: 2025-01-11T18:30:01.629Z (over 1 year ago)
- Topics: distributed-locking, distributed-systems, go, golang, gomodules, redlock
- Language: Go
- Homepage:
- Size: 14.6 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# distlock
[](https://pkg.go.dev/github.com/dmitrymomot/distlock)
[](https://travis-ci.com/dmitrymomot/distlock)
Go module for distributed locking based on article [How to do distributed locking](https://martin.kleppmann.com/2016/02/08/how-to-do-distributed-locking.html) by Martin Kleppmann
## Usage
...
## Documentation
WIP: https://pkg.go.dev/github.com/dmitrymomot/distlock
## ToDo
- [x] mutex
- [ ] rw mutex
- [x] in-memory storage driver
- [ ] redis driver
- [ ] postgres driver
- [ ] documentation
## Alternatives
- https://github.com/go-redsync/redsync Distributed locking via Redis
> Don't afraid to add yours via pull request :)
---
Licensed under [Apache License 2.0](https://github.com/dmitrymomot/distlock/blob/master/LICENSE)