We are currently setting up 2 Craft webservers behind a load balancer with sticky sessions.
What I am wondering: Is there any need, that
- the file based cache needs to be somehow switched to a shared cache?
- runtime files (@runtime) need to be shared between the 2 systems?
Especially the first question is bothering me because of how Craft can invalidate its cache.
If a shared cache is needed, what would you recommend? According to my research on the net I believe that Redis is not suitable with 2 locally installed instances (Master-Master). So either KeyDB as Redis alternative, DB Caching or file based caching via NFS would be options.
Thanks