Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hjr265/redsync.go
*DEPRECATED* Please use https://github.com/go-redsync/redsync.
https://github.com/hjr265/redsync.go
distributed go redis synchronization
Last synced: 9 days ago
JSON representation
*DEPRECATED* Please use https://github.com/go-redsync/redsync.
- Host: GitHub
- URL: https://github.com/hjr265/redsync.go
- Owner: hjr265
- License: bsd-3-clause
- Created: 2014-05-17T08:03:10.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2021-05-28T15:35:44.000Z (over 3 years ago)
- Last Synced: 2024-10-14T14:49:20.544Z (21 days ago)
- Topics: distributed, go, redis, synchronization
- Language: Go
- Homepage:
- Size: 50.8 KB
- Stars: 304
- Watchers: 14
- Forks: 44
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# **This package is deprecated. Please switch to [github.com/go-redsync/redsync/v4](https://github.com/go-redsync/redsync).**
---
# Redsync.go
[![Build Status](https://drone.io/github.com/hjr265/redsync.go/status.png)](https://drone.io/github.com/hjr265/redsync.go/latest)
Redsync.go provides a Redis-based distributed mutual exclusion lock implementation for Go as described in [this](http://antirez.com/news/77) blog post. A reference library (by [antirez](https://github.com/antirez)) for Ruby is available at [github.com/antirez/redlock-rb](https://github.com/antirez/redlock-rb).
## Installation
Install Redsync.go using the go get command:
$ go get github.com/hjr265/redsync.go/redsync
The only dependencies are the Go distribution and `github.com/garyburd/redigo/redis`.
## Documentation
- [Reference](http://godoc.org/github.com/hjr265/redsync.go/redsync)
## Contributing
Contributions are welcome.
## License
Redsync.go is available under the [BSD (3-Clause) License](http://opensource.org/licenses/BSD-3-Clause).
## Disclaimer
This code implements an algorithm which is currently a proposal, it was not formally analyzed. Make sure to understand how it works before using it in production environments.