Hacker News new | ask | show | jobs
by keyless_ 1464 days ago
Unfortunately, it doesn't. That was actually the reason I built this originally - there's no easy way to control read/write access to a file on S3 without using some sort of external locking system.
3 comments

You can add locks to objects, which restricts who can delete them and how, but requires bucket wide settings.
BTW, this is true, but that is not locking in the "sync locking" sense.
It's not the intended purpose but they can be used like this. Lock files can be written, will fail if they already exist - that gets you a distributed equivalent to flock doesn't it?
Have you looked at Azure Blob Storage's lock feature? Could that be used?
Did Zookeeper or Etcd not suit your needs?
They are valid solutions for this use-case; the main drawback is you need to set up and maintain a ZooKeeper cluster. Lockable is intended as a simpler and faster-to-use alternative.