1.

Explain the process of Sharding.

Answer»

Sharding is the process of splitting data up across machines. We also use the term “partitioning” SOMETIMES to describe this concept. We can store more data and handle more LOAD without requiring larger or more powerful machines, by putting a subset of data on each machine.
In the figure below, RS0 and RS1 are shards. MongoDB’s sharding allows you to create a cluster of many machines (shards) and break up a collection across them, putting a subset of data on each shard. This allows your application to GROW beyond the resource limits of a standalone server or replica set.

SHARDED Client ConnectionNon Sharded Client Connection


Discussion

No Comment Found