A experimental Go package to create distributed locks using S3 without using Databases.
The General flow is
- Attempt to Acquire lock
- If succesfull do the main operation with in the configured timeout.
- Release the lock
This go package uses fencing tokens as suggested in the blog to make the lock safe against race conditions. This package is heavily influenced and most of the code is adapted from aws-s3-lock