Multiple server nodes, single site, sharing storage

Mouth

Well-known member
If you're having multiple webserver nodes for a single XF site, is the recommendation for storage sharing being;
  • data/
  • internal_data/
.. but with internal_data/code-cache/ being local to the node?

Are there any other folders within either data/ or internal_data/ that should be local to the node?

Will a template rebuild on one node also impact the other nodes? Or would templates need rebuilding on all nodes separately?
 
Realistically, code_cache somehow needs to stay in sync on all nodes or you wouldn't be able to do anything that modifies templates (change advertising, navigation, etc.)-

So you can either keep that on shared storage (via NFS, GlusterFS, CephFS, ...) or keep it in sync via lsyncd/csync2/etc.

That being said, we do have data/internal_data on GlusterFS and code_cache local on each node but synced via a custom solution.
 
Back
Top Bottom