Order Management Resource Allocation
Resource allocation for Order Management services on a cloud platform
-
Docker containers
Modify the .env file present in the
$OM_HOME/docker
directory forMinRAMPercentage
andMaxRAMPercentage
usage for the following values:min_ram_percentage=25.0 max_ram_percentage=100.0
-
Kubernetes
Kubernetes users need to modify the individual Kubernetes script files as required.
Example:
For the configurator service, modify the kubernetes-deploy-run-configurator.yml file:
env: - name: min_ram_percentage value: "25.0" - name: max_ram_percentage value: "100.0"
-
Helm Charts
Helm Charts users must change
MinRAMPercentage
andMaxRAMPercentage
based on their requirements in thevalues.yaml
file:min_ram_percentage: 25.0 max_ram_percentage: 100.0
Resource allocation of JVM for Order Management services on a non-cloud platform (bare metal box or VM)
When any Order Management service is started from a bare-metal Linux machine, the user must set the JVM parameters for each micro-service that starts for Order Management as per the following value:
./start.sh -XX:MinRAMPercentage=25.0 -XX:MaxRAMPercentage=100.0
cpu/memory
resources change as per the load on a particular micro-service. If the user
chooses any type of out-of-the-box caching offered along with Order Management, by default, the values for
the cpu/memory
resources must be increased as required.