CrowdStrike/redsync

Name: redsync

Owner: Crowdstrike

Description: Distributed mutual exclusion lock using Redis for Go

Forked from: go-redsync/redsync

Created: 2017-09-18 15:39:02.0

Updated: 2017-09-18 15:39:04.0

Pushed: 2017-08-28 20:52:47.0

Homepage: http://redis.io/topics/distlock

Size: 10

Language: Go

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

Redsync

Build Status

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

Installation

Install Redsync using the go get command:

$ go get gopkg.in/redsync.v1

The only dependencies are the Go distribution and Redigo.

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.


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.