Hacker News new | past | comments | ask | show | jobs | submit login

Depends. There's nothing wrong with NFS itself, although v4 is better obviously. There's a performance trade-off with going over the network and sharing the storage with multiple servers, along with the necessary metadata for each file, but if you don't have much contention then it's just like a drive with higher latency.

If that latency is low and your workload can handle disk concurrency well then it works fine. It helps if you use (or configure) a database with more sequential access and buffering for large updates rather than lots of random small writes, as well as spreading the data over several disks.

AWS EFS has latency problems which make it problematic but this product seems to have better performance profile which could work well.




I get the performance issue but I'm more concerned about data integrity.

I did a quick lookup in the MySQL docs (https://dev.mysql.com/doc/refman/8.0/en/disk-issues.html) and was surprised that this isn't really an issue.

Learned something new, thanks!


Databases all use some kind of write-ahead logging so you'll be safe as long as that file is safe, and they're even capable of recovering the file all the way up to any corrupt records that may have been appended at the end.

You shouldn't use multiple servers writing to the same volume for database drives, but other than that it's no different than any other disk that might lose connection. Most VMs "local" disks are still attached over the network anyway, emulating a PCIe bus interface instead of NFS.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: