Answer the question
In order to leave comments, you need to log in
How to flush cache from nodes?
In general, the question is: what options are there for dropping the out-of-date file cache from all nodes in the cluster.
my options:
- by api | ssh
- cache actual hash of cacheable information in redis | memcache
Of course, each has its pros and cons. If anyone has experienced this issue, please share. I will write our solution at the end.
Answer the question
In order to leave comments, you need to log in
Depends on the system you are building. Api is an option, but there are a bunch of others, ranging from proper planning, not storing the cache in files, and up to regular node redeployment (or rather containers).
Well, in general, in order to solve this issue, you need to understand what kind of cache it is, what is stored in it, how often it is accessed, what will happen if the cache on different nodes contradicts each other
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question