MongoDB Data replication between two servers when using Load Balancer.

Posted September 8, 2020 1.9k views
MongoDBUbuntuScalingNoSQLLoad Balancing

I am using load balancer and 2-3 servers within it. I want to replicate the data(MongoDB) of one server to automatically. I using PHP(CodeIgniter)+MongoDB.

Please suggest me, how it can be done.

Thanks in advance!!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Submit an Answer
1 answer