Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletter Hub
Free Learning
Arrow right icon
timer SALE ENDS IN
0 Days
:
00 Hours
:
00 Minutes
:
00 Seconds
Arrow up icon
GO TO TOP
The Official MongoDB Guide

You're reading from   The Official MongoDB Guide Resilience, scalability, security and performance

Arrow left icon
Product type Paperback
Published in Sep 2025
Publisher Packt
ISBN-13 9781837021970
Length 368 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Authors (7):
Arrow left icon
Rachelle Palmer Rachelle Palmer
Author Profile Icon Rachelle Palmer
Rachelle Palmer
Jeffrey Allen Jeffrey Allen
Author Profile Icon Jeffrey Allen
Jeffrey Allen
Parker Faucher Parker Faucher
Author Profile Icon Parker Faucher
Parker Faucher
Alison Huh Alison Huh
Author Profile Icon Alison Huh
Alison Huh
Lander Kerbey Lander Kerbey
Author Profile Icon Lander Kerbey
Lander Kerbey
Maya Raman Maya Raman
Author Profile Icon Maya Raman
Maya Raman
Lauren Tran Lauren Tran
Author Profile Icon Lauren Tran
Lauren Tran
+3 more Show less
Arrow right icon
View More author details
Toc

Table of Contents (12) Chapters Close

Preface 1. Introduction to MongoDB 2. MongoDB Architecture FREE CHAPTER 3. Developer Tools 4. Data Modeling and Index Optimization 5. Queries 6. Database Operations 7. Security 8. MongoDB Atlas 9. Atlas Search 10. Other Books You May Enjoy
11. Index

Sharding

MongoDB supports horizontal scaling through sharding, which involves the distribution of data across multiple servers, divided into smaller pieces known as shards. Sharding plays an essential role in managing and organizing large-scale data.

Moreover, sharding allows for the creation of distributed databases to support geographically distributed applications, enabling policies that enforce data residency within specific regions.

Why do you need sharding?

Imagine your application’s data is growing rapidly and starting to push the limits of your database. As data volume increases, you may encounter a range of issues, the most immediate being degraded performance. Queries that once returned results quickly may now take noticeably longer, slowing down your application and frustrating users with laggy or delayed responses.

Storage is another critical concern. Every system has practical limits on how much data it can store and manage efficiently. If your...

Visually different images
CONTINUE READING
83
Tech Concepts
36
Programming languages
73
Tech Tools
Icon Unlimited access to the largest independent learning library in tech of over 8,000 expert-authored tech books and videos.
Icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Icon 50+ new titles added per month and exclusive early access to books as they are being written.
The Official MongoDB Guide
You have been reading a chapter from
The Official MongoDB Guide
Published in: Sep 2025
Publisher: Packt
ISBN-13: 9781837021970
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 €18.99/month. Cancel anytime
Modal Close icon
Modal Close icon