I am working with docker and mongodb containters (in a replica set configuration), so I have 3 nodes, each with a mongodb container (1 Primary, 2 secondaries).
Each sefver is quite powerfull (20 CPU’s, 100 GB RAM ).
We expect ourdata to grow quite large, and for that I should use sharding as far as I understand.
My question is:
Does it make any sense to configure sharding using containers on the same server?
Any advantages for deploying sharding like this…?