Skip to content

About

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

Resources

Stars

1 star

Watchers

1 watching

Forks

 
 

Latest commit

 

History

39 Commits

Folders and files

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

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages