I have a program in Python that collects data from different sensors and I want to make some of this data used by a Java script. I can write them in a file on the SD card and read them from that file. But I need to display this values in real time. So I have to write and read too much on the SD card. Is there another solution not to use the SD card and use only the RAM? I try to create a virtual file system in Python with FS but I could not install the library for some reason. I use LAMP as a web server (Apache).
I will be thankful for any advice.