Earlier quoted context omitted.
What case would you make for using revision_id?
I'm not OP, but I can at least give an argument against using a timestamp for sorting versions: for various reasons system time is not guaranteed to be monotonic, which can result in cases where newer versions would be sorted before older versions. See https://www.erlang.org/doc/apps/erts/time_correction.html#in... for more info. It's about time handling in the Erlang run-time system, but the issue it describes is un…
Immutable Data (2015)
41–43 of 43 posts
Re: Immutable Data (2015)
#42Earlier quoted context omitted.
What case would you make for using revision_id?
E.g. timestamps may (slightly) differ if the updates occur in different transactions, while the revision ID is likely passed around, and is easier to correlate. This is relatively rare though.
I find date and time data so difficult to work with that I typically avoid using it for anything important unless absolutely necessary.
Re: Immutable Data (2015)
#43Earlier quoted context omitted.
GDPR and the right to having your personal data deleted certainly puts a bit of a stopper on using an immutable database for anything personally identifying.
Pretty much all databases are "immutable". The logs contain every transaction ever made and most institutions save their logs. Also, backups of data are stored on tape and likely shipped somewhere for safekeeping.