Resource Management

BYOC (Bring your own Cloud) users can manage their available instance resources from their instance settings

Warning

What is Resource Management?

The Resource Management panel allows Custom and Enterprise BYOC (Bring Your Own Cloud) customers to configure CPU, RAM, and storage allocation for different components of your Xano instance.

Accessing Resource Management

1

From the instance selection screen, click the ⚙️ icon

2

In the panel that opens, choose Resource Management

Types of Resources

Resource Unit Measurements

Understanding the units used in Xano's resource allocation is essential for proper configuration.

CPU Measurements

  • m (millicores): 1000m = 1 CPU core

  • Examples: 5m (very light), 100m (moderate), 1000m (1 full core)

RAM Measurements

  • Mi (Mebibytes): 1024Mi = 1 GB

  • Examples: 512Mi (0.5 GB), 1536Mi (1.5 GB), 2048Mi (2 GB)

Storage Measurements

  • Gi (Gibibytes): 1Gi = 1.07 GB

  • Examples: 10Gi (≈11 GB), 100Gi (≈107 GB)

Backend Resources

The Backend handles your API endpoints, most of your business logic execution, and core Xano functionality. This is typically your primary compute workload.

Configuration Options:

  • Requested CPU: Minimum CPU allocation

  • Limit CPU: Maximum CPU the backend can consume

  • Requested RAM: Minimum memory allocation

  • Limit RAM: Maximum memory the backend can use

Backend Autoscaler

The Autoscaler automatically adjusts the number of backend pods based on CPU utilization to handle varying traffic loads.

Configuration Options:

  • CPU Threshold: Percentage of CPU usage that triggers scaling

  • Min Replicas: Minimum number of backend pods to maintain

  • Max Replicas: Maximum number of instances the autoscaler can create

Important Considerations

Deno Resources

The Deno pod handles execution of your Lambda Functions

Configuration Options:

  • Requested CPU: Minimum CPU allocation

  • Limit CPU: Maximum CPU the backend can consume

  • Requested RAM: Minimum memory allocation

  • Limit RAM: Maximum memory the backend can use

Node Resources

Node powers our realtime functionality as well as certain core functionality of your Xano instance such as team collaboration and state mangement

Configuration Options:

  • Requested CPU: Base CPU allocation (e.g., 5m)

  • Limit CPU: Maximum CPU available (e.g., 500m = 0.5 CPU cores)

  • Requested/Limit RAM: Memory allocation (e.g., 2048Mi = 2 GB)

Database Resources

This section may not be present if your database is offloaded to a managed service, such as CloudSQL.

Database pod manages your PostgreSQL database pod and handles all database operations.

While you do have a separate backend pod for business logic, it's important to note when workloads will lean on the database resources. If an API executes a Query All Records function, the backend is only responsible for passing that instruction to the database, and receiving the result when it's ready. The database resources are used to actually perform the operation.

Configuration Options:

  • Requested CPU: Guaranteed database CPU (e.g., 5m)

  • Limit CPU: Maximum database CPU (e.g., 2000m = 2 CPU cores)

  • Requested/Limit RAM: Database memory allocation

  • Storage: Persistent storage for your database (measured in Gi = Gibibytes, e.g., 10Gi ≈ 10.7 GB)

Optimization Tips

Task Resources

Task resources execute Background Tasks. Please note that these resources are for all of your tasks collectively, and not individual tasks.

Configuration Options:

  • Requested CPU: Minimum CPU allocation

  • Limit CPU: Maximum CPU your tasks can consume

  • Requested RAM: Minimum memory allocation

  • Limit RAM: Maximum memory your tasks can use

When to Scale Up:

  • High volume of background jobs

  • Complex data processing tasks

  • Frequent scheduled operations

Frontend Resources

Frontend service serves your Xano interface

Configuration Options:

  • Requested CPU: Often minimal (0m for light loads)

  • Limit CPU: Usually 50m-100m is sufficient

  • RAM: Typically 16Mi-32Mi for basic serving

It's not likely that this will ever require adjustment.

Global Redis Resources

This section may not be present if Redis is offloaded to a managed service such as Memorystore within GCP.

Redis cache powers all of the high-performance caching functions and response caching

Configuration Options:

  • CPU: Usually 5m-1000m depending on cache usage

  • RAM: Critical for Redis performance (384Mi-512Mi typical)

  • Storage: Persistent storage for Redis data

Redis-Specific Warnings

Additional Information

Maintenance, Monitoring, and LoggingDeployment

Last updated

Was this helpful?