我正在将GlusterFS用于文件存储群集和我的Web应用程序.
我有两卷,存储和网络.
目前我将Web安装为NFS,因为FUSE太慢了.
现在我想知道是否有任何重大缺点,如果我也应该将存储装载为NFS.
解决方法
NFS使用标准文件系统缓存,Native GlusterFS使用应用程序空间RAM,并且是必须定义的硬件编号.
如果你看看documentation
The FUSE client allows the mount to happen with a
GlusterFS
round robin
style connection. In/etc/fstab
,the name of one node is used; however,internal mechanisms allow that node to fail,and the clients will roll over to other connected nodes in the trusted storage pool. The performance is slightly slower than the NFS method based on tests,but not drastically so. The gain is automatic HA client failover,which is typically worth the effect on performance.
总而言之:这取决于要求.当系统上有足够的RAM并且性能不是很重要时,FUSE似乎是更好的选择.