Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

The figure below shows the MongoDB system architecture. Briefly, Shards are MongoDB instances that hold a subset of a collection's data. Each shard is

The figure below shows the MongoDB system architecture. Briefly, Shards are MongoDB instances that hold a

The figure below shows the MongoDB system architecture. Briefly, Shards are MongoDB instances that hold a subset of a collection's data. Each shard is either a single mongod instance or a replica set. Config Servers are mongod instances that hold metadata about the cluster. The metadata maps chunks to shards. Router is a mongod instance that routes reads and writes from apps to the shards. Applications do not access the shard directly. The Config servers are set to 3 instances. Explain (1) the reason that Config servers need replications and (2) why the replications are 3 or at least 3? (Hint: consider the failover operations) (10 Marks) Application Server Router (mongos) Application Server Reads and Writes 2 or more Routers 2 or more Shards Shard (replica set) Router (mongos) Shard (replica set) 3 Config Servers Config Server Config Server Config Server

Step by Step Solution

There are 3 Steps involved in it

Step: 1

1 Config servers need replications to ensure that the cluster metadata is always available and consistent The cluster metadata includes information about the shards chunks and their mappings If a sing... blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Modern Systems Analysis And Design

Authors: Joe Valacich, Joey George

9th Global Edition

1292351624, 978-1292351629

More Books

Students also viewed these Databases questions

Question

9. How do epinephrine and cortisol enhance memory storage?

Answered: 1 week ago

Question

5. Which types of memory are least impaired in H. M.?

Answered: 1 week ago