logoalt Hacker News

sgarlandtoday at 12:14 AM1 replyview on HN

Those examples are all equally difficult to reason about. Cache invalidation is equivalent to refreshing a materialized view, and UNLOGGED tables bring about new and exciting ways lose data.


Replies

fastballtoday at 12:19 AM

Cache invalidation on Redis is setting a TTL of 60s on the kv I just set, in a single atomic operation.

show 1 reply