Skip to main content
Version: Next

System Requirements

Supported Operating Systems

The Lunar.dev API Consumption Gateway is compatible with both Linux and macOS, supporting CPU architectures including x86_64 and ARM64.

Supported OS Distributions

Lunar.dev API Consumption Gateway is compatible with the following Linux distributions:

  • AlmaLinux 8, 9
  • Debian 11, 12
  • Oracle Linux 8, 9
  • RHEL 8, 9
  • Rocky Linux 8, 9
  • SUSE 15.5
  • Ubuntu 20.04, 22.04, 24.04

If you encounter any challenges during the installation process or have inquiries, feel free to reach out to the Lunar support team at info@lunar.dev for prompt assistance and guidance.

Hardware Recommendations

The hardware requirements for the Lunar.dev API Consumption Gateway vary based on the workload it manages. Only CPU and memory are factored in, while disk size depends on your operating system and log retention needs. The recommendations below are for guidance only; please contact us for help in accurately sizing your servers.

Low-Level Workload

  • Traffic Type: TCP or HTTP
  • Connections per Second: Up to 1,000
  • SSL Traffic: Very low
  • Requirements:
    • 1 CPU core
    • 1 GB of RAM

Mid-Level Workload

  • Traffic Type: TCP or HTTP (including HTTP manipulation)
  • Connections per Second: Up to 4,000
  • SSL Traffic: Low
  • Requirements:
    • 2 CPU cores
    • 2 GB of RAM

High-Level Workload

  • Traffic Type: TCP or HTTP (including HTTP manipulation)
  • Connections per Second: Up to 20,000
  • SSL Traffic: 10% of traffic ciphered
  • Requirements:
    • 2 CPU cores (as fast as possible)
    • 4 GB of RAM
    • A powerful network card

Memory and CPU Recommendations

Based on our testing with Apache Benchmark, we recommend the following resource limits for optimal performance during high traffic scenarios:

  • Memory Limit: 4 GB (recommended)
  • CPU Cores: 2 (recommended)

These recommendations align with HAProxy's guidance for handling high traffic environments, which suggests a minimum of 1 GB and up to 4 GB of memory for scenarios supporting high connection rates (see here).

While a lower limit of 2 GB and 1 CPU core may be adequate, opting for the higher limits will ensure stability and performance during traffic spikes.

CTRL + M