title: MongoDB configuration that is worth optimizing initially
body: <p>I'm new-by to MongoDB.</p>
  <p>What configuration parameters are there that worth to optimizing initially (such as different cache sizes, etc.)?</p>
  <p><em>Note: Each of the mongod (shard), mongod (config), and mongos components are run in Docker containers with no resource limitations initially and from the official images (v4.2.17).</em></p>
  <p>Cluster details:</p>
  <ul>
  <li><p>Cluster size = 3 node cluster (in the same VPC)</p>
  </li>
  <li><p>Node type = AWS EC2 <code>2vCPU</code>, <code>8GB memory</code> (m5.large)</p>
  </li>
  <li><p>Data Volume attached = EBS(GP2) <code>60GB</code>, <code>180 IOPS</code></p>
  </li>
  <li><p>Database data size = <code>6GB</code></p>
  </li>
  </ul>