logoalt Hacker News

fastballtoday at 12:19 AM1 replyview on HN

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


Replies

mindwoktoday at 1:26 AM

You can also pg_cron refresh a materialised view every minute which seems similar.