The biggest problem with a Pi is that the SD cards which store the OS don’t seem to be well suited for so much constant reading and writing. My Pi 4 has been a tank, but I’ve burnt through 3 SD cards in two years and every time they crap out I have to spend at least an hour testing everything.