I have web apps on a web server farm that need to share serialized objects stored as files. I need to be able to have one of the web apps write updates to these files, but it needs to wait until all of the other apps' threads are done reading
ReaderWriterLock works fine within a single web app, but as soon as I access the shared files (on a SAN or any mapped network drive) I encounter IO Exceptions when readers are in the middle of a read and a write operation occurs.
Is there a way to control this across a server farm, or at the very leasy, between multiple apps on the same server?
View Complete Post