How to Scale ScalarDL
This guide explains how to scale ScalarDL. The contents of this guide assume that you used Scalar Helm Chart to deploy ScalarDL, which is the recommended way.
You might be able to resolve some performance issues by scaling ScalarDL if a bottleneck exists on the ScalarDL side. However, sometimes a performance issue is caused by a bottleneck in the backend databases. In such cases, scaling ScalarDL will not resolve the performance issue.
Instead, please check where the bottleneck exists. If the bottleneck exists in the backend databases, consider scaling the backend databases.
- ScalarDL Ledger
- ScalarDL Auditor
-
Add the following to your custom values file, replacing
<NUMBER_OF_PODS>
with the number of pods you want to scale:ledger:
replicaCount: <NUMBER_OF_PODS> -
Upgrade your ScalarDL Ledger deployment by running the following
helm upgrade
command, which uses the updated custom values file. Be sure to replace the contents in the angle brackets as described:helm upgrade <RELEASE_NAME> scalar-labs/scalardl -n <NAMESPACE> -f /<PATH_TO_YOUR_CUSTOM_VALUES_FILE_FOR_SCALARDL_LEDGER> --version <CHART_VERSION>
-
Add the following to your custom values file, replacing
<NUMBER_OF_PODS>
with the number of pods you want to scale:auditor:
replicaCount: <NUMBER_OF_PODS> -
Upgrade your ScalarDL Auditor deployment by running the following
helm upgrade
command, which uses the updated custom values file. Be sure to replace the contents in the angle brackets as described:helm upgrade <RELEASE_NAME> scalar-labs/scalardl-audit -n <NAMESPACE> -f /<PATH_TO_YOUR_CUSTOM_VALUES_FILE_FOR_SCALARDL_AUDITOR> --version <CHART_VERSION>