Thursday, April 17, 2008

Memory Mapped Files and Fault Tolerance

I've been searching google for how to design a system that uses memory mapped files, and does so in a fault-tolerant fashion. Since any write might get written or not (depending on power failures and users killing the application), the system must be written in such a way that the data is guaranteed to be valid.

I've found an article that didn't tell me anything I didn't already know, but did put it all together and answered the specific question at hand. The example code is in java but I won't hold that against it.

http://www.devx.com/Java/Article/10027

No comments: