3 ms·
They could still offer it as a client library feature, just tell the users what kind of r/w amplification and guarantees they can expect, and it's something the
by ece 5y ago
They could still offer it as a client library feature, just tell the users what kind of r/w amplification and guarantees they can expect, and it's something they could optimize later or not.
- CodesInChaos 5y agoYou can't reliably implement conditional PUTs in the client, you need a server side mechanism like the `if-match` header.
- ignoramous 5y agoConditional PUTs aren't possible with versioned objects, but if you desire immutability, then they do help. To implement serialisation, (as opposed to using Conditional PUTs) one could implement a ledger on top of versioned buckets with LegalHolds: Basically, the object versions part of the main chain are LegalHolded whilst other versions are reconcilled (rebased) onto main and later deleted. Tricky to implement, for sure, compared to say, maintaining a journal in DynamoDB to track PUTs to maintain serial integrity.