Resource Sizing Guidelines

This section provides recommendations on sizing of different components of API Gateway to meet the desired throughput requirements mentioned in the table for a cluster and standalone setup.

System Resource Allocation

Cluster setup

Component RAM CPU HDD Heap
API Gateway

Maximum: 6 GB

Minimum: 4 GB

2 cores 30 GB

Minimum Heap size: 2048 MB

Maximum Heap size: 3584 MB

Parameters to define the Heap size:

Minimum – Xms

Maximum - Xmx

Terracotta

Maximum: 8 GB

Minimum: 8 GB

2 cores 30 GB

Heap usage: 2 GB

Off Heap usage: 2 GB

Elasticsearch

Maximum: 6 GB

Minimum: 4 GB

2 cores 300 GB

Minimum Heap size: 3584 MB

Maximum Heap size: 3584 MB

Parameters to define the Heap size:

Minimum - Xms

Maximum - Xmx

Kibana

Maximum: 6 GB

Minimum: 4 GB

2 cores 30 GB

Maximum Heap size: 4096 MB

Parameter to define the Maximum Heap size:

--max-old-space-size=4096 MB

Standalone setup
Component RAM CPU HDD Heap
API Gateway

Maximum: 6 GB

Minimum: 4 GB

2 cores 30 GB

Minimum Heap size: 2048 MB

Maximum Heap size: 3584 MB

Parameters to define the Heap size:

Minimum – Xms

Maximum - Xmx

Elasticsearch

Maximum: 6 GB

Minimum: 4 GB

2 cores 300 GB

Minimum Heap size: 3584 MB

Maximum Heap size: 3584 MB

Parameters to define the Heap size:

Minimum – Xms

Maximum - Xmx

Kibana

Maximum: 6 GB

Minimum: 4 GB

2 cores 30 GB

Maximum Heap size: 4096 MB

Parameter to define the Maximum Heap size:

--max-old-space-size=4096 MB