Skip to content

needfeed/distributed_mutex

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

by Birkir A. Barkarson <[email protected]>

A rails plugin proving an abstract distributed mutex along with a MySQL implementation that uses mysql named locks. Others distributed locks using Memcached etc could be implemented using the same framework.

git clone git://github.com/birkirb/distributed_mutex.git
cd distributed_mutex
rake install
script/plugin install git://github.com/birkirb/distributed_mutex.git
gem install distributed_mutex

To add the plugin to your rails project, add the following to your config/environments.rb:

config.gem(:distributed_mutex)

Copy spec/config/database.stub to spec/config/database.yml and edit as needed for your mysql installation.

gem install bundler
bundle install
rake spec
Author

Birkir A. Barkarson <[email protected]>

Copyright

Copyright © 2009

License

MIT License

About

Framework for using a distributed mutex and an implementation of a MySQL database stored mutex.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Ruby 100.0%