This is really not a C # / issue. NET if you do not want to write your own RAM disk driver. Drivers like the ones youβre connected to have been around for a long time, and they have insane read / write speeds due to the availability of RAM for your application and OS. This may not be a problem in your case if the machine has a lot of RAM.
A programming component is the periodic writing of the contents of a RAM disk to a disk. Since a RAM disk is usually displayed as just another disk, this is an easy way to copy files from it to a physical disk. You can do this in C #, but it will work well in several scripting languages.
If this is a high-end application, look at SATA SSDs. They have read / write speeds significantly higher than hard drives, and data is saved in the event of a power outage, power outage, etc.
Norman Kraft
source share