<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Nancy Agarwal on foojay.io - Friends of OpenJDK</title><link>https://foojayio.github.io/website/today/author/nancyagarwal/</link><description>Articles written by Nancy Agarwal on foojay.io - Friends of OpenJDK</description><generator>Hugo</generator><language>en-us</language><lastBuildDate>Tue, 02 Jun 2026 22:15:00 +0000</lastBuildDate><atom:link href="https://foojayio.github.io/website/today/author/nancyagarwal/index.xml" rel="self" type="application/rss+xml"/><item><title>What is Sharding in MongoDB and When Should You Use It?</title><link>https://foojayio.github.io/website/today/what-is-sharding-in-mongodb-and-when-should-you-use-it/</link><pubDate>Tue, 02 Jun 2026 22:15:00 +0000</pubDate><guid>https://foojayio.github.io/website/today/what-is-sharding-in-mongodb-and-when-should-you-use-it/</guid><description>&lt;h3 id="h3-0-a-practical-introduction-to-horizontal-scaling"&gt;&lt;strong&gt;A Practical Introduction to Horizontal Scaling&lt;/strong&gt;&lt;/h3&gt;
&lt;p&gt;When building applications, most developers start with a &lt;strong&gt;single database server&lt;/strong&gt;.&lt;/p&gt;
&lt;p&gt;At the beginning, everything works perfectly.&lt;/p&gt;
&lt;p&gt;Your application might have:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;A few thousand users&lt;/li&gt;
&lt;li&gt;Manageable traffic&lt;/li&gt;
&lt;li&gt;Datasets that easily fit on one machine&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;But as your application grows, something interesting starts to happen.&lt;/p&gt;
&lt;p&gt;Queries take longer.&lt;/p&gt;
&lt;p&gt;Write operations slow down.&lt;/p&gt;
&lt;p&gt;The database server starts hitting &lt;strong&gt;CPU, RAM, or storage limits&lt;/strong&gt;.&lt;/p&gt;
&lt;p&gt;At this stage, many engineers ask an important question:&lt;/p&gt;</description></item></channel></rss>