Im not sure if this is the group to ask so forgive me if so please point me to the right group. Im working on an embedded x86 board that has a 4G flash RAM and has a threshold of about 10k writes.
Im writing software that, unless I have a better way to do it, writes a file to the flash every 5 seconds, 24 hrs a day. The file being written is then picked up by a second process and analyzed. So Im trying to avoid disk (flash memory) writes so I dont wear out the flash.
Ive been looking into named pipes or IPC msg sending but I think that they too write to 'disk'. My last resort is to use a client/server approach between the two processes, but Im wondering if that too doesnt, at some level, write to 'disk' as well each time. What is the best approach to this problem?
I would imagine you all have extensive experience in this area and can let me know what is typically done in this situation.