/redsync-radix

Distributed mutual exclusion lock using Redis for Go

Primary LanguageGoBSD 3-Clause "New" or "Revised" LicenseBSD-3-Clause

Redsync-Radix

Build Status

Redsync-Radix provides a Redis-based distributed mutual exclusion lock implementation for Go by using radix as described in this post. A reference library (by antirez) for Ruby is available at github.com/antirez/redlock-rb.

Installation

Install Redsync-Radix using the go get command:

$ go get github.com/kayalardanmehmet/redsync-radix

The only dependencies are the Go distribution and radix.

Documentation

Contributing

Contributions are welcome.

License

Redsync is available under the BSD (3-Clause) License.

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.