I want this program of mine to expose its status for others to read. The first thing that comes to my mind is to write this to a file, but the flow of my program makes it convenient to update this status several times a second which makes it stupid to write it to disk every time.
Is there for example a way of storing this file in memory only, available on the file system without manually mounting a ramdisk somewhere?
My program is written in Python, those reading its status could be anything.