MongoDB Master/Master

Hello, I want to install 2 MongoDB in London and America and run it as a Master / Master. In other words, my Application will work both in London and in the USA. I tried sharding but no result. Isn’t it possible to do this in MongoDB?

Hi @Mr_Tux welcome to the community!

You may want to take a look at the blog post Active-Active Application Architectures with MongoDB where it discusses different deployment methods and their tradeoffs.

Best regards


Thanks for your reply. Is there any how to document ? Because I tried many times but not succeed.