Try using a SSD connected via USB 3.0 on the RPi 4.
Re:Raspberry Pi Server Mark III
by kingosticks on Sunday December 20, 2020 @01:21PM
(#25488316)
Thanks. I keep meaning to try it out but booting from an SSD instead. I was hoping anything intensive (e.g. thumbnail generation) would be a one-time thing so not noticeable in daily usage. Perhaps I will re-think, I have a ThinkCentre M75q I could use but that seems overkill.
I tried running Nextcloud on Raspberry Pi 4 (4GB) a while ago, and hitting performance issue on SD card very fast (initial DB import take very long). I tried to solve this by moving all Nextcloud data into iSCSI disk but RAM & CPU became a problem once I started adding more files. After a week or so, I tore everything down and went back to a VPS instance.
It might works better with Raspberry Pi cluster on Kubernetes, though. (This very Raspberry Pi is now happily running as a DVB streaming server.)