Skip to content

Go synchronization on top of Redis using Lua.

License

Notifications You must be signed in to change notification settings

beanieboi/redisync

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Redisync

A Go package which implements synchronization functions on top of Redis. The heavy lifting is done with Lua scripts to make the elimination of race conditions easier.

Note: When using a TTL, the user should take care to finsih execution before the TTL.

Install

$ go install github.com/ryandotsmith/redisync

Usage

See: ./example_test.go

Documentation

GoDoc

Hacking on Redisync

Build Status

$ go version
go version go1.1.1 darwin/amd64
$ ./redis-server --version
Redis server v=2.6.14 sha=00000000:0 malloc=libc bits=64
$ git clone git://github.com/ryandotsmith/redisync.git
$ go get ./...
$ ./redis-server &
$ go test

About

Go synchronization on top of Redis using Lua.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 100.0%