- Oct 11, 1999
- 3,064
- 0
- 0
I was looking into seting up a trio of load balanced web servers, all NFS-mounting thier /htdocs directory from a single fileserver (so that I only have to keep and manage one copy of the site files).
But it occured to me this might not work. The webservers have plenty of ram, and will eventually have cached most of the site, but then what if I change something on the file server, how will it know to refresh its cache of those files?
Does it check the file server each time something is requested? That'll probably be way to much overhead.
Do NFS Servers automatically tell clients when things have changed? I can't really imagine that being the case.
Basically, I don't want A.) An NFS call for every file requested and B.) Stale copies of files in memory
Is this setup doomed?
bart
But it occured to me this might not work. The webservers have plenty of ram, and will eventually have cached most of the site, but then what if I change something on the file server, how will it know to refresh its cache of those files?
Does it check the file server each time something is requested? That'll probably be way to much overhead.
Do NFS Servers automatically tell clients when things have changed? I can't really imagine that being the case.
Basically, I don't want A.) An NFS call for every file requested and B.) Stale copies of files in memory
Is this setup doomed?
bart