Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

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.

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.