Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Mastering MongoDB 4.x

You're reading from   Mastering MongoDB 4.x Expert techniques to run high-volume and fault-tolerant database solutions using MongoDB 4.x

Arrow left icon
Product type Paperback
Published in Mar 2019
Publisher Packt
ISBN-13 9781789617870
Length 394 pages
Edition 2nd Edition
Languages
Tools
Concepts
Arrow right icon
Author (1):
Arrow left icon
Alex Giamas Alex Giamas
Author Profile Icon Alex Giamas
Alex Giamas
Arrow right icon
View More author details
Toc

Table of Contents (20) Chapters Close

Preface 1. Section 1: Basic MongoDB – Design Goals and Architecture FREE CHAPTER
2. MongoDB – A Database for Modern Web 3. Schema Design and Data Modeling 4. Section 2: Querying Effectively
5. MongoDB CRUD Operations 6. Advanced Querying 7. Multi-Document ACID Transactions 8. Aggregation 9. Indexing 10. Section 3: Administration and Data Management
11. Monitoring, Backup, and Security 12. Storage Engines 13. MongoDB Tooling 14. Harnessing Big Data with MongoDB 15. Section 4: Scaling and High Availability
16. Replication 17. Sharding 18. Fault Tolerance and High Availability 19. Other Books You May Enjoy

Sharding

Sharding is the ability to horizontally scale out our database by partitioning our datasets across different servers—the shards. It has been a feature of MongoDB since version 1.6 was released in August, 2010. Foursquare and Bitly are two of MongoDB's most famous early customers, and have used the sharding feature from its inception all the way to its general release.

In this chapter, we will learn the following topics:

  • How to design a sharding cluster and how to make the single most important decision concerning its use—choosing the shard key
  • Different sharding techniques and how to monitor and administrate sharded clusters
  • The mongos router and how it is used to route our queries across different shards
  • How we can recover from errors in our shard
lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at R$50/month. Cancel anytime