/var/cache : which is the better way to handle it on HA scenario?

chrisbware

New Member
Apr 17, 2018
25
2
3
Italy
chrisbware.wordpress.com
Hi guys,

I'd like to know if it's possible to disable configuration caching by fusion, since it seems not easy to handle. I often need to flush cache manually on the other nodes of my cluster.
Is there a better way to do it?
How can I disable caching ?


Thanks in advance for your answer

Regards
 

ad5ou

Active Member
Jun 12, 2018
525
125
43
Removing the cache will hurt call processing performance.
You could set a cron job to automatically clear the cache at set intervals but I’ve found the best practice is to login to the node a particular domain is on when making changes especially if the changes will require clearing the cache.
 

chrisbware

New Member
Apr 17, 2018
25
2
3
Italy
chrisbware.wordpress.com
A cron job doesn't fix it. What would be needed is a resource able to delete previous file on cache or update it, according to what you do in web interface.
I don't understand how is possible that none had the same issue before.
 

markjcrane

Active Member
Staff member
Jul 22, 2018
285
91
28
46
File cache works great. I wouldn't use memcache as it doesn't scale as well does until your server load gets too high then it can't keep up. There are multiple ways to work with the it on a cluster ad5ou mentioned one.
 

kt351b

New Member
Feb 24, 2020
21
0
1
22
File cache works great. I wouldn't use memcache as it doesn't scale as well does until your server load gets too high then it can't keep up. There are multiple ways to work with the it on a cluster ad5ou mentioned one.
What way to work with cache in a "cluster mode" can you recommend?