Hacker News new | ask | show | jobs
by d3n_devn 78 days ago
The most useful Redis pattern I've found for real-time data: write with explicit TTLs and let stale data expire naturally instead of invalidating. If your writer dies, the data expires on its own within the TTL window. No stale data served indefinitely. Simple but surprisingly hard to break
1 comments

The simplest approach is the best in 90%+ of the cases!