Ga naar inhoud

Hardware vereisten

Minimale specs

Fleet-groottevCPURAMDisk
< 10 agents24 GB40 GB SSD
10–50 agents28 GB80 GB SSD
50–500 agents416 GB200 GB
500–2000 agents832 GB500 GB
> 2000 agentsmeerdere nodes (postgres replica + horizontal hub-api)

Verbruik per agent

  • Ingest: ~1 KB / 15 sec / agent → 50 agents ≈ 17 MB/u
  • Inventory: ~80 KB / 6u / agent
  • Telemetrie 30 dagen: ~50 MB / agent in TimescaleDB (na compressie)

Backup-strategie

Terminal window
# Daily logical dump
pg_dump -U monsys -h postgres monsys | zstd -19 > /backups/$(date -I).sql.zst
# 30 dagen retention
find /backups -name "*.sql.zst" -mtime +30 -delete

Voor productie: maak ook een hete replica via streaming replication met pg_basebackup op een tweede node.

Schaling adviezen

  • Splits hub-api en hub-ingest naar aparte instances zodra > 200 agents.
  • Postgres connection pool: minimum max_connections = 100; gebruik PgBouncer bij > 500 agents.
  • TimescaleDB compression na 7 dagen — bespaart 80–95% disk.
  • Voor multi-region: cross-region replication is niet nodig — agents kiezen het dichtsbijzijnde ingest-endpoint via DNS.