To be specific about my issue, I have a script that uses youtube-dl
to download videos and outputs its progress to a file. This means youtube-dl
is constantly writing to a file on disk (on /tmp
), every second or so. I do this since I have another script that needs to be run independently whose sole purpose is to check the progress of the download.
However, I’m worried about my SSD being weared down by so many frequent writes (I have many other scripts that use similar techniques) and was thinking there might be other solutions. Today I thought about writing the progress to RAM, and was glad to find this is really easy to do on OS X.
On further inspection, though, I also see many people claiming RAM disks are a thing of the past and not really needed these days, since modern systems like OS X automatically implement other solutions that make them not needed.
Opinions are pretty divided. Since making and mounting a temporary RAM disk is so incredibly easy, if it realistically decreases the amount of writes to the SSD and has no repercussions on the RAM, I don’t see why not use it. Is there anything I’m missing?