Menu
Back to Discussions

What are the best ways to handle caching when you need data to be updated in real-time?

Theron Vanderbilt
Theron Vanderbilt
·6773 views
hey everyone, i'm working on a system that needs super fresh data shown to users, like, almost right away. we're using a distributed cache, but i'm struggling with how best to invalidate or update cache entries when the database data shifts. what methods do you guys find work best for keeping the cache in sync without adding a ton of latency or making things too complicated? any patterns you really swear by for this exact issue?
34 comments

Comments

Loading comments...