Scenario A :
To split a read / write memory block between two processes running on the same host, Jom deletes the same local file from both processes.
Scenario B :
To share a read / write memory block between two processes running on two different hosts, Joe transfers the file via nfs between the nodes and then deletes the shared file from both processes.
Has anyone tried scenario B? What additional problems arise in scenario B that are not related to scenario A ?.
Mmap will not transfer data without any additional action.
mmaped , . ( ) msync munmap ββ FS.
msync
NFS , FS. - .
- , NFS , NFS -, - FS.
. NFS >= v4.0.
, B (, , ). concurrency - 2 , 1 .. ... , NFS .
, - concurrency, ( ) . , , . , .
- , , , , . , procs, , DBs, . , proc ( concurrency -i.e. , ), ...