问题原文
原帖链接 · Makoto · CC BY-SA 4.0
Can NFS be reasonably used on production servers as a means of connecting a compute server to a storage server, assuming the connection is over a LAN 1Gbe or 10Gbe connection?
There's obviously some network overhead and NFS seems particularly slower with writes if you have sync mode enabled. Otherwise it seems reasonably lightweight and able to scale from what I can tell, but I have little experience with it personally. Am I wrong?
The problem is I have a server right now that acts as both the storage and web server but I'm going to end up needing to split the two likely in the future, and considering some requests need to pass through the web application layer for authentication before initializing the file transfer, it gets kind of tricky with this software. A network fs mount is the simplest option I just.. don't know if that's a good one.
I also plan to try and utilize local caching with NFS which should improve performance a good bit, but I'm not sure if that's enough.
As far as alternatives, there's only iSCSI that I'm aware of as a real competitor, and most people seem to recommend NFS over any of the other lesser known ones.
社区高分解答
原帖链接 · NISMO1968 · CC BY-SA 4.0
iSCSI might be a bit faster...
https://www.hyper-v.io/whos-got-bigger-balls-testing-nfs-vs-iscsi-performance-part-3-test-results/
...but NFS like any other network redirector (SMB3, AFS/AFP etc) allows concurrent multi-access which is tricky with iSCSI or other block protocols.
https://forums.starwindsoftware.com/viewtopic.php?f=5&t=1392
摘自公开归档,保留原文语言,版式经整理,外部媒体与邮箱地址已移除。
