search

Home  >  Q&A  >  body text

MongoDB主从配置是否可行

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

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

ringa_leeringa_lee2796 days ago803

reply all(1)I'll reply

  • 某草草

    某草草2017-04-24 16:01:47

    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

    reply
    0
  • Cancelreply