Hardware vereisten
Minimale specs
| Fleet-grootte | vCPU | RAM | Disk |
|---|---|---|---|
| < 10 agents | 2 | 4 GB | 40 GB SSD |
| 10–50 agents | 2 | 8 GB | 80 GB SSD |
| 50–500 agents | 4 | 16 GB | 200 GB |
| 500–2000 agents | 8 | 32 GB | 500 GB |
| > 2000 agents | meerdere 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
# Daily logical dumppg_dump -U monsys -h postgres monsys | zstd -19 > /backups/$(date -I).sql.zst
# 30 dagen retentionfind /backups -name "*.sql.zst" -mtime +30 -deleteVoor 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.