Description

This article provides insight regarding the limit on contrail cluster addition from the implementation view.

Solution

  • To proxy requests to a cluster via command, a maximum of 10 endpoint URL is required.
  • To store one endpoint in the memory (hash map), 1KB of space is required.

To store all 10 endpoints of a cluster, 10KB of space is used. Thus, technically in a system with 1GB of RAM (10000000) endpoints can be stored, which means 1,000,000 clusters can be imported. However, it is not wise to use up all the memory and start using virtual memory. So we can safely say 1/4 th of the RAM in KB divided by 10.

Maximum Clusters = (Total RAM in KB/4*10)

 Where 10 is the memory (in KB) used to store all endpoints of a cluster in memory.