Comment on Looking for guidance on modernizing a high-traffic WordPress news site
goldensw@lemmy.dbzer0.com 13 hours agoSorry for the late reply. We are using an older Hetzner with i7 6700, 64 gb and 500 GB SATA SSD. It’s quite ancient by modern standards and it is starting to show its age in some usecases. I am well aware the new machine is way too powerful for our current context but unfortunately the site is very old so it amassed a huge library of media of over 300gb over many years. If we plan to store it locally, we could probably compress it aggresively to free a few dozen GB, but to be fair it would only delay the inevitable upgrade. Clearly, an alternative would be some sort of media offloading with premium WordPress plugins to ensure robustness and regular updates, but that introduces complexity, so it’s something I will need to discuss with our developer.
But let’s say we do choose this very powerful server, you mentioned loading from the disk, but wouldn’t loading from RAM (given the excessive amount of RAM for this usecase) be preferable whenever available?
dan@upvote.au 3 hours ago
Since you’re using Hetzner, one option is to get a Hetzner storage box to store the media. 1TB space is $4/month (not sure about EU pricing).
On-disk cache prevents a “thundering herd” problem when you reboot - an in-memory cache would be empty on rebootz whereas an on-disk cache survives a reboot. Linux handles caching files in RAM automatically.