Node.js, MongoDB, and AngularJS Web Development (Developer's Library) by Brad Dayley

Node.js, MongoDB, and AngularJS Web Development (Developer's Library) by Brad Dayley

Author:Brad Dayley [Dayley, Brad]
Language: eng
Format: epub, pdf
Publisher: Pearson Education
Published: 2014-06-05T00:00:00+00:00


MongoDB solves this problem through sharding. Sharding is the process of storing documents across multiple MongoDB servers running on different machines. This allows the MongoDB database to scale horizontally. The more MongoDB servers you add, the larger the number of documents your application can support. Figure 17.3 illustrates the concept of sharding; from the application’s perspective, there is a single collection, but there are actually four MongoDB shard servers, and each contains a portion of the documents in the collections.

Figure 17.3 From the application’s perspective, there is only a single collection to access. However, the documents for that collection are split across multiple MongoDB shard servers.



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.