this post was submitted on 26 Nov 2023
1 points (100.0% liked)

Homelab

22 readers
1 users here now

Rules

founded 1 year ago
MODERATORS
 

I am thinking of running multiple database/messages servers such as postgres, redis, mongo, influxdb on old computers and use a centralized NAS to store the data.

One advantage is that I don't need to worry about getting appropriate local storage for the computers that host these services. For example, I could run postgres on an old desktop with spinning disks or even a raspberry pi.

But I am still concerned about the I/O speed and reliability. I wonder if anyone has experience doing it like this. Can you share the pros and cons? I really appreciate it.

you are viewing a single comment's thread
view the rest of the comments
[–] SuperQue@alien.top 1 points 1 year ago (1 children)

IMO, you really don't want to run databases over NFS/SMB. I've just seen too many corruption and locking issues over the years to trust it.

For home lab use, do you really need anything as big enough for a database that wouldn't fit on a Pi anyway?

For example, I run Prometheus on my Pi, no problem.

[–] Kapelzor@alien.top 1 points 1 year ago (1 children)

How do you keep your card from not dying?

[–] SuperQue@alien.top 1 points 1 year ago

I use a Pro card meant for cameras. Also, Prometheus disk write load is tiny.