You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: source/scalability.txt
+21-20Lines changed: 21 additions & 20 deletions
Original file line number
Diff line number
Diff line change
@@ -23,30 +23,32 @@ response to real-time use. {+service+} analyzes the CPU and memory utilization t
23
23
and whether to scale the cluster tier up and down. See :ref:`Cluster tier scaling <cluster-autoscaling>`
24
24
to learn more about the conditions under which {+service+} scales up or down your cluster nodes. You can
25
25
also specify a range of maximum and minimum cluster sizes that your cluster can automatically scale
26
-
to. {+service+} won't scale a cluster if the new tier falls outside of your specified size range or
27
-
if your memory usage would exceed the capacity of the new tier. Auto-scaling is throttled with a delay
28
-
to scale a cluster tier up or down. Therefore, it is best suited for a steadily growing or declining
29
-
application load, not sudden spikes in which the database is being inundated with usage. If your
30
-
workload experiences frequent spikes or if you are expecting a large increase in traffic because of an
31
-
event or a launch, MongoDB recommends that you pre-scale programmatically.
26
+
to in order to guarantee minimum performance or control costs. {+service+} won't scale a cluster if the
27
+
new tier falls outside of your specified size range or if your memory usage would exceed the capacity of
28
+
the new tier. Auto-scaling is throttled with a delay to scale a cluster tier up or down to ensure that
29
+
auto-scaling doesn't cause any application impact. Therefore, it is best suited for a steadily growing or
30
+
declining application load, not sudden spikes in which the database is being inundated with usage. If your
31
+
workload experiences frequent spikes or if you are expecting a large increase in traffic because of an event
32
+
or a launch, MongoDB recommends that you pre-scale programmatically.
32
33
33
34
{+service+} deployment templates, as referenced in the :ref:`Recommended Deployment Topologies <arch-center-deployment-topologies>`,
34
35
provide you with horizontal and vertical scaling options. Specifically, sharding distributes data across
35
36
numerous machines, which is useful when no single server can handle your workloads. Sharding follows a
36
37
shared-nothing architecture, a distributed computing architecture where none of the nodes share any
37
-
resources with each other. See :ref:`Choose a Shard Key <sharding-choose-a-shard-key>` to learn more
38
+
resources with each other. See :manual:`Choose a Shard Key </core/sharding-choose-a-shard-key>` to learn more
38
39
about the ideal choice of shard key that allows MongoDB to distribute documents evenly throughout your cluster
39
40
while faciliating common query patterns. Furthermore, see `Performance Best Practices: Sharding <https://www.mongodb.com/blog/post/performance-best-practices-sharding>`__
40
41
to learn about the key sharding strategies, such as ranged sharding, hashed sharding, and zoned sharding.
41
42
42
-
Upgrading an {+service+} cluster to the next available {+service+} tier is available through the
43
-
{+service+} control plane GUI or the
44
-
`Atlas Administration API <https://www.mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Clusters/operation/upgradeSharedCluster>`__.
45
-
Changing an {+service+} tier, either upscaling or downscaling, allows zero downtime, and is performed
46
-
in a rolling fashion, which involves electing a secondary member as a replacement, promoting this secondary
47
-
member to become the new primary, then restoring or replacing the failing member
48
-
to ensure that the cluster is returned to its target configuration as soon as possible. Horizontal
49
-
scaling occurs post-deployment based on Administrator action, which can be triggered from a programmatic
43
+
Upgrading an {+service+} {+cluster+} to the next available {+service+} tier is available through the
44
+
{+service+} control plane GUI, the
45
+
`Atlas Administration API <https://www.mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Clusters/operation/upgradeSharedCluster>`__,
46
+
or through IaC tools, such as the |ak8so|, the |service-terraform|, or the {+atlas-cli+}. See
47
+
:ref:`Automation <arch-center-automation>` to learn more. Changing an {+service+} tier, either upscaling or
48
+
downscaling, allows zero downtime. The tier changes in a rolling fashion, which involves electing a secondary
49
+
member as a replacement, promoting this secondary member to become the new primary, then restoring or replacing
50
+
the failing member to ensure that the cluster is returned to its target configuration as soon as possible.
51
+
Horizontal scaling occurs post-deployment based on Administrator action, which can be triggered from a programmatic
50
52
script. Some cluster templates require sharded clusters. Starting with MongoDB version 8.0, you may make
51
53
use of :manual:`embedded config servers </reference/command/transitionFromDedicatedConfigServer>` to reduce
52
54
costs associated with config servers on small sharded clusters.
@@ -67,11 +69,10 @@ or event data that only needs to be retained for a limited time. To create a TTL
67
69
an index on a field that holds date values and specify a time-to-live duration in seconds.
68
70
69
71
{+service+} also provides you with automated tools, such as the :opsmgr:`Performance Advisor </current/tutorial/performance-advisor/>`,
70
-
to monitor and identify inefficient queries such as adding or removing an index or
71
-
changing your client's query structure. You can reduce unnecessary compute time and resource
72
-
consumption by following actionable recommendations to enhance your query performance. Additionally,
73
-
you can leverage intelligent index recommendations provided by {+service+} to further improve data
74
-
retrieval efficiency and minimize the resources needed for database operations.
72
+
to identify and optimize inefficient queries by adding or removing an index or changing your client's query
73
+
structure. You can reduce unnecessary compute time and resource consumption by following the actionable recommendations
74
+
to enhance your query performance. Additionally, you can leverage intelligent index recommendations provided by
75
+
{+service+} to further improve data retrieval efficiency and minimize the resources needed for database operations.
0 commit comments