Mouth
Well-known member
Load balancers and multiple web servers/nodes is quickly becoming normal product offerings in hosting environments, and very easy to setup. Utilising this functionality makes lots of sense for XF sites, particularly those with the majority of users/visitors in the the same/similar time zone or geographic area. Start and stop web servers as needed for peak/normal load vs low/overnight load, as well as the ability to still have your site operational whilst performing maintenance or upgrades on a server.
Disk caching is currently the complexity to easily activating/achieving the above, eg. internal_data/code_cache since it must be separately synchronised/maintained between servers using tools like rsync, nfs, file cluster etc.
Thus, the suggestion is for config.php directives to instead move disk cache into Redis ( my internal_data/*_cache/ total is only 350M, easily handled by RAM on a seperate server/node ), similar to guest page caching.
Disk caching is currently the complexity to easily activating/achieving the above, eg. internal_data/code_cache since it must be separately synchronised/maintained between servers using tools like rsync, nfs, file cluster etc.
Thus, the suggestion is for config.php directives to instead move disk cache into Redis ( my internal_data/*_cache/ total is only 350M, easily handled by RAM on a seperate server/node ), similar to guest page caching.
Upvote
0