Skip to content

Latest commit

 

History

History
6 lines (5 loc) · 368 Bytes

README.md

File metadata and controls

6 lines (5 loc) · 368 Bytes

Distribute locking using s3 backend

A golang implementation of a locking mechanism for amazon S3 that leverages the versioning feature to create locks. A new version of a file is uploaded first, then checks if the oldest non-deleted version is the same as the one uploaded. Once it 'acquires' the lock this way, runs the critical section, then removes its version.