Answer the question
In order to leave comments, you need to log in
MongoDB: replication of local servers and remote server
I am writing a client application in C#, .NET for Windows. After installing the product, in addition to the client, each machine will have its own local MongoDB server, in the database of which records will be kept. The local server does not always have access to the network, if it were not for this moment, then one could simply connect to a remote server and write to its database.
I also have a remote MongoDB server accessible from the internet. When accessing the Internet, the data of the local copy must be synchronized with the public server, i.e. send locally recorded data and accept those that are in the database (sometimes they came from other machines).
How to solve this problem? Is replication suitable for this at all?
Answer the question
In order to leave comments, you need to log in
Connect from the app and do what you want. Replication feel not your case.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question