I have two servers s1 and s2 and two apps a1 and a2. a1 and a2 are installed on s1 and share some files that are accessible via a mount on s2.
If a1 writes a file onto the s2 server and a2 the fetches this file from the remote s2 server, how does the cache on s1 and s2 aid this process?
The cache on s1 won't be able to completely satisfy the read request of a2, because someone could have changed the file on s2 in the mean while. Does s1 linux ask s2 linux if the file has been changed, since its last access? Or will the file always be retransfered over the network? So only the s2 cache can be of any help?