Skip to content

MichaelMonashev/sync

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sync/netmutex - Go client to lock server

Low-level high-performance Golang client library for Taooka distributed lock manager .

GoDoc Go Report Card Travis CI AppVeyor Codeship Coverage Codecov

Installation

Using go get

$ go get github.com/MichaelMonashev/sync/netmutex

Its source will be in:

$GOPATH/src/github.com/MichaelMonashev/sync/netmutex

Documentation

See: godoc.org/github.com/MichaelMonashev/sync/netmutex

or run:

$ godoc github.com/MichaelMonashev/sync/netmutex

Performance

200000+ locks per second on 8-core Linux box.

Example

Steps:

  • connect to lock server
  • lock key
  • execute critical section
  • unlock key
  • close connection

See full example in sync/netmutex godoc

About

Golang library for Taooka distributed lock manager

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages