Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I think gcloud has CAS by comparing etags. Surprised to hear S3 can’t.


the common approach is cas dynamodb pointers to uuid named objects in a named s3 prefix.

would it be better to merge ddb and s3? maybe, maybe not.

gcp/azure/etc are there to provide fancy cloud solutions. no need for aws to serve that market as well.


One of the important premises of object storage is that if your PutObject or multipart upload succeed, the entire object is atomically replaced. It is eventually consistent, so you may not immediately retrieve the just-uploaded object with GetObject, but you should see the new version eventually, and never see part of one version mixed with part of another. This should natively support compare-and-swap: "hey if the existing etag is what I expect, apply my change, otherwise ignore my change and tell me so". This has nothing to do with DynamoDB and is not reimplementing its feature set. It is just a natural extension of how the service already works (from an API consumer perspective, not necessarily an implementation perspective).




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: