top | item 46239688

(no title)

cognomano | 2 months ago

So… caches. The unfortunate reality of high used systems.

discuss

order

cwillu|2 months ago

Or indexes, which are after all a structured way of duplicating data for performance, sometimes so much so that they entirely replace the actual table row lookup.

gunnarmorling|2 months ago

Yepp, making exactly that same point in the post:

> This is why we have indexes in databases, which, if you squint a little, are just another kind of materialized view, at least in their covering form.

samdoesnothing|2 months ago

Yeah that was a lot of words to say caching is needed sometimes.

As always it's an engineering decision full of tradeoffs. You should never duplicate your data, except when you need to...etc etc.