I know about mongoDB Replica set offers master slave configuration but is there a possibility to write in multiple mongodb database instances (running for example in multiple docker containers ) and then syncing the changes to one (local) master and then pushing the changes to (production) master?
Or if that's not possible then I know one way would be to write in a (local) master database maybe using transactions to avoid concurrency issues but how can I push those changes to a (production) master server. My data has 100s of GBs so I want to save everything in local first to avoid network bottlenecks.
All somewhat related answers are really old and not related to mongodb 4.4 or at least 4+
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…