java - MongoDB driver and cluster -
I'm going to a dull cluster with 3 replica sets, 3 configurable servers and 1 mangas example from a single manga example . In return, there are three Mongol instances in each replica set.
When I am adding a document to the archive, then I am looking for higher availability. What should I join with my Java program? Should I connect to Monogos or Mongoode from a replica set?
Can you please tell me?
Thanks in the garbage environment, your application should always be linked to the mangas instance.
Treats your application's perspective as another MongoDB example from the Mongos example.
Even if you have a non-pushing database or a collection that stays on the same shard, then it is recommended that you use monos for all tasks (even if Only those actions have no effect on the cut data).
You can read more information on the man page.
Comments
Post a Comment