MongoDB主从配置是否可行
ringa_lee
ringa_lee 2017-04-24 15:59:47
0
1
819

Hi,
主 4G RAM, 100G SSD
从2G RAM, 100G SSD.

网站流量不大,读写都是由主机,从机仅仅是为了冗余备份。
问题: 这样能保证强一致性性吗?
PHP写操作要不要加fsync = true?
thanks

ringa_lee
ringa_lee

ringa_lee

reply all(1)
某草草

No matter whether the traffic is large or not, it is best not to use master-slave in the wired network. Add one more machine to build a sharded cluster. Please refer to here /blog/dmyang/1190000002426743

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template