News for hackers. Stuff that matters.
Re:Git: Malicious repositories can execute remote code while... by branko_d on Wednesday March 10, 2021 @03:47AM (#26409210)
I like to look at caching as a form of denormalization - introducing redundancy to improve performance. And whenever we have redundancy, we have to make sure all our copies are synchronized, which can be tricky, especially in a concurrent environment.

On the other hand, the whole point of normalization in databases is to avoid redundancy and have "single source of truth".

I find the concepts of normalization and denormalization applicable and helpful outside databases as well, though a different terminology is often used.

Re:Git: Malicious repositories can execute remote code while... by adolph on Wednesday March 10, 2021 @08:55AM (#26411210)
In that light, a cache is a form of partition, so it can be available xor consistent with its source.

https://en.wikipedia.org/wiki/CAP_theorem