RDLM
(Restful Distributed Lock Manager) is a lock manager over HTTP
built on Tornado.
- RESTful interface
- Timeout automatic management (to avoid stale locks)
- Blocking wait for acquiring a lock (with customatizable timeout)
- Very fast (in memory)
- One unique single threaded process
- Can deal with thousands of locks and simultaneous connections
- Administrative password protected requests
pip install rdlm Requirements: - Python 2.6, 2.7, 3.2 or 3.3 - Tornado >= 2.3
rdlm-daemon.py --port=8888 --logging=debug (rdlm-daemon.py --help for the full list of options)
The complete HTTP API is described in this specific document.
If you prefer a pure python API, you can also have a look at : this specific project.