Is the mmap file used through nfs?

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 ?.

+3
source share
3 answers

Mmap will not transfer data without any additional action.

mmaped , . ( ) msync munmap ​​ FS.

NFS , FS. - .

- , NFS , NFS -, - FS.

+4

. NFS >= v4.0.

+2

, B (, , ). concurrency - 2 , 1 .. ... , NFS .

, - concurrency, ( ) . , , . , .

- , , , , . , procs, , DBs, . , proc ( concurrency -i.e. , ), ...

0

All Articles