Aller au contenu
getgeolens.com

Resource Sizing

Ce contenu n’est pas encore disponible dans votre langue.

CPU and memory recommendations per service for each deployment target. All K8s values match the defaults in the geolens-helm chart’s values.yaml.

Resource requests and limits per service. Scale by adding replicas, not by increasing per-pod resources.

ServiceReplicasCPU RequestCPU LimitMemory RequestMemory Limit
API1500m1000m1 Gi2 Gi
Worker11000m2000m2 Gi4 Gi
Frontend1125m250m128 Mi256 Mi

Database: db.t3.micro (RDS) or DO 1 GB managed PostgreSQL

ServiceReplicasCPU RequestCPU LimitMemory RequestMemory Limit
API3500m1000m1 Gi2 Gi
Worker11000m2000m2 Gi4 Gi
Frontend1125m250m128 Mi256 Mi

Database: db.t3.medium (RDS) or DO 4 GB managed PostgreSQL

ServiceReplicasCPU RequestCPU LimitMemory RequestMemory Limit
API5500m1000m1 Gi2 Gi
Worker21000m2000m2 Gi4 Gi
Frontend1125m250m128 Mi256 Mi

Database: db.t3.large (RDS) or DO 8 GB managed PostgreSQL

Enable HPA (api.autoscaling.enabled: true) to scale API replicas automatically based on CPU utilization. See values.yaml for configuration.

All services run via Docker Compose on a single instance. Choose based on dataset volume and ingestion frequency.

TierInstance TypevCPURAMUse Case
Smallt3.medium24 GBMinimum for Docker Compose (API + Worker + DB)
Mediumt3.large28 GBProduction with PostGIS query headroom
Larget3.xlarge416 GBHeavy ingestion, large datasets

Database: Embedded PostgreSQL on the same host, or external RDS for durability.

Same as AMI — all services on one host via Docker Compose.

TierDroplet SizevCPURAMUse Case
Smalls-2vcpu-4gb24 GBMinimum for Docker Compose
Mediums-4vcpu-8gb48 GBProduction workloads
Larges-8vcpu-16gb816 GBHeavy ingestion, large datasets

Database: Embedded PostgreSQL on the same host, or DO Managed PostgreSQL for durability.

All tiers require persistent storage for uploaded datasets and PostGIS data. Plan for:

  • OS + Docker images: ~10 GB
  • PostGIS data directory: Size depends on dataset volume (start with 50 GB, expand as needed)
  • Upload staging: Matches your largest expected upload file

For cloud-specific deployment instructions, see Cloud Deployment.