title: Distributed lock manager for Python
body: <p>I have a bunch of servers with multiple instances accessing a resource that has a hard limit on requests per second.</p>
  
  <p>I need a mechanism to lock the access on this resource for all servers and instances that are running.</p>
  
  <p>There is a restful distributed lock manager I found on github: <a href="https://github.com/thefab/restful-distributed-lock-manager">https://github.com/thefab/restful-distributed-lock-manager</a></p>
  
  <p>Unfortunately there seems to be a min. lock time of 1 second and it's relatively unreliable. In several tests it took between 1 and 3 seconds to unlock a 1 second lock.</p>
  
  <p>Is there something well tested with a python interface I can use for this purpose?</p>
  
  <p>Edit: I need something that auto unlocks in under 1 second. The lock will never be released in my code.</p>