4 ms·
Very interesting. The describe it as a rewind. Does anybody know if it's really a rewind, where each log record is reversible? Or do they do the easier thing of
by wpietri 9y ago
Very interesting. The describe it as a rewind. Does anybody know if it's really a rewind, where each log record is reversible? Or do they do the easier thing of saving snapshots and then replaying the log from snapshot to desired point?
- walru 9y agoEvery thing is recorded. edit: And I'm being down voted because? Because HN does not enjoy the truth?
- freehunter 9y agoThe downvotes are probably because the answer wasn't helpful and doesn't mesh with Amazon's statements.
- walru 9y agoHow did that work for everyone deleting their FB account?
- freehunter 9y agoHow is this conversation helpful to this thread? The question is not "how much does Amazon keep" but "how long/much/granular can I restore".
- walru 9y agoThat sounded like the original question to me. It's an estranged statement to believe otherwise. So, yes, they save snapshots and take you back to the time of your choosing based off that.
- icebraining 9y agoAn estranged statement? What does that mean? How do you know they use the snapshots method, rather than reversing the changes?
- walru 9y agoOnly just twenty years of software development (and what makes sense). Seeing as the rest of this thread is full of conjecture (and children), I thought I'd influence some experience.
- deleted 9y ago[deleted]
- icebraining 9y agoWell, as Bucephalus355 pointed out in another comment, Oracle has a similar feature and it's not implemented using snapshots.
- matthewmacleod 9y agoSo, yes, they save snapshots and take you back to the time of your choosing based off that. Okay, but you're most likely wrong with that. If you read about how Aurora works (https://www.allthingsdistributed.com/files/p1041-verbitski.pdf https://www.allthingsdistributed.com/files/p1041-verbitski.p...) it seems likely that they will be using log entries to rollback database state, rather than retaining "snapshots".
- mmahemoff 9y agoProbably reversible transactions where possible, but with original-state metadata attached to the transaction if it's required to reverse it (https://en.wikipedia.org/wiki/Memento_pattern https://en.wikipedia.org/wiki/Memento_pattern).
- awgupta 9y agono, we don't perform destructive writes so we are able to simply mark a region of the log as to be skipped. this approach also allows us to move back and forth within the time domain even after a backtrack.
- misframer 9y agoAurora uses a log-structured storage system, so they just point to a previous version that they haven't garbage collected.
- awgupta 9y agothat's correct.