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.
forked from RoelVanNyen/distlocks3
-
Notifications
You must be signed in to change notification settings - Fork 0
svyotov/distlocks3
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Locks using s3 as backend in go
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published
Languages
- Go 100.0%