4 ms·
In Azure, we solve this with leasing blobs and always renewing, and additionally checking ETags when writing.
by DigitalTerminal 7y ago
In Azure, we solve this with leasing blobs and always renewing, and additionally checking ETags when writing.
- tybit 7y agoThat’s cool. S3 is generally fantastic but as far as I know has no similar option to this. I wonder if they’ll ever have a strong consistency mode.
- appwiz 7y agoWithin AWS, consider DynamoDB with the fantastic DynamoDB Lock Client[1]. It’s a “general purpose distributed locking library built on top of DynamoDB. It supports both coarse-grained and fine-grained locking.” [1] https://github.com/awslabs/dynamodb-lock-client
- ts330 7y agointerested to know your approach to long leases lasting more than 60 seconds (if you have this?). do you go for continual renewing (and bailing out if you get too close to the timeout without getting a renewal). or do you go for infinite with your own break logic?