posted by sbergman27 on Sat 9th Feb 2008 21:33
Conversations I believe I read that OSNews conversions were for tech discussion, and I have an issue which I've Googled and Googled but the answer is still not clear to me.

I know that NFS does some client-side caching, and have read that ensuring complete cache consistency between clients is expensive, so NFS implements a lesser guaranty which is good enough for "everyday file sharing".

I have a server that runs many sessions of a multiuser Cobol accounting application. I have a need to run one session of the app on another box, with the Cobol C/ISAM data files mounted via NFS. The application, obviously, will be reading and writing individual records within the files, and proper locking is employed such that clients running on the server do not step on each others' changes to the files. But can I trust that NFS is going to handle this properly and not cause corruption?
Permalink for comment 648
To read all comments associated with this story, please click here.
RE: How about this...
by gregthecanuck on Sun 10th Feb 2008 11:06 UTC
Member since:

Adam - that solution is fine as long as the client solution doesn't cache the data, otherwise two users can still collide. Your suggestion basically matches the optimistic locking model.

ReplyParent Score: 1