我需要用一些原写文字进行二级储存。 我怎么能够证明这种ool弄?
如果我打开C#文档,则使用档案处理。 开放我将接受处理。 我可以向它撰写一些数据。 挥霍并关闭。 但我仍有一些问题。 我猜测以下陈述是真实的?
数据可能不是用软盘书写的,而是存在于Windows Disk的海滩上。
数据可能不是用磁盘书写的,而是存在于HDD海滩。
And this will lead to the following issues:
停电将使得I号档案中的ed(关于像国家食品安全局这样的交易性金融服务)重新出现。
A kernel-panic will make the edits in the file I made reverted (On a transactional FS like NTFS)
Am I correct in my assumptions? If so, how can I make a fool proof write to the disk? I have looked a little bit into NoSQL and have been thinking there might be a nosql server that could talk to the system closer to the hardware and not return to me software until it can guarantee that the bytes are written to disk.
欢迎所有观点和想法。
Jens
[edit] Maybe there is a specific amount of time I can wait before being sure that all changes are written to physical disk?