System requirements and sizing¶
This reference page lists the operating systems, container runtimes, hardware and browsers QubeSight supports, and gives sizing tables by the number of events per second (TPS) you expect. Network requirements are on Network, ports and firewall.
Community Enterprise
Operating system¶
| Item | Requirement |
|---|---|
| Architecture | x86_64 (amd64) only. The container images are built for amd64; ARM servers are not supported. |
| Primary target | Ubuntu Server 22.04 LTS or 24.04 LTS, kernel 5.15 or later. The AWS and Azure marketplace images use Ubuntu 24.04 LTS. |
| Also used | Oracle Linux / Red Hat Enterprise Linux 8 and 9 and compatible distributions (for example Rocky Linux 8, AlmaLinux 9) with Podman. |
| Vault server (optional) | Ubuntu, or Oracle Linux / RHEL, with Docker or Podman. |
| Witness (cluster) | Any of the above. The witness stores no activity data; a small server is enough. |
| Access | root, or a user in the docker group with sudo (needed for a virtual IP). Cluster members are managed by the product over SSH as root, or as a user with password-less sudo. |
Container runtime¶
| Runtime | Requirement |
|---|---|
| Docker Engine | Docker's own packages (docker-ce, docker-ce-cli, containerd.io, docker-compose-plugin). Prefer them to the distribution's docker.io package. The docker compose version command must work (Compose v2). |
| Podman | Podman with its Docker-compatible API and docker compose (tested with Podman 4.9; the installer does not check the Podman version). The netavark network backend is required for reliable name resolution between containers. On a server with no containers yet, the installer switches a CNI-based Podman to netavark automatically; on a server that already runs other containers it keeps CNI and applies workarounds, and warns. |
The installer refuses to continue without a working container engine and Compose v2.
Other software¶
| Software | When needed |
|---|---|
bash, openssl, iproute2, awk, sed, grep, df |
Always. Present on a standard server installation. |
| Node.js 20 or later | Only for the web installer. Ubuntu's own nodejs package is too old; use nodejs.org or NodeSource packages. ./install.sh in a terminal does not need Node.js. |
python3 |
Optional. Used only to print the sizing recommendation for an expected TPS. |
arping |
Optional. Used to check that a virtual IP is free. |
Minimum resources¶
These are the thresholds the installer checks. They are enough for an evaluation, not for production.
| Resource | Minimum | Notes |
|---|---|---|
| Memory available to Docker | 6 GiB | The web installer warns below 6 GiB; install.sh warns below 6,000,000,000 bytes (about 5.6 GiB). The idle stack uses about 1.6 GiB. |
| Free disk in the installation directory | 10 GiB | The installer warns below this. Production needs far more; see Disk growth. The growing data can be placed on a separate data disk. |
| CPU | — | The installer never sets a container CPU limit above the number of cores Docker sees. |
| Embedded language model | 11 GiB of memory and 4 cores for Docker | Below this, the installer leaves the model off by default. The model uses about 4 GiB while loaded and is unloaded after 15 minutes without questions. |
| Guardium archive restore | about 2 GiB of memory extra | For the restore MySQL (on by default). |
Default container limits¶
The ClickHouse limits of a new installation are set from the machine:
- CPU (
CLICKHOUSE_CPUS): the number of cores Docker sees minus 2, at least 2 and never more than the cores available. If the sizing recommendation wrote a larger value, that value is kept. 2.0 remains only when the core count cannot be read. - Memory (
CLICKHOUSE_MEMORY): without an expected rate, a quarter of the memory Docker sees, at least 4 GiB and at most 16 GiB. With an expected rate (--expected-tpsor the web installer's Load step), the sizing recommendation sets it instead (see Sizing tables).
These values are written only to a new .env; an existing .env is never changed. The other services start with the fixed limits below.
The sizing recommendation can raise the worker, ClickHouse and Vector limits in .env.
| Service | CPU | Memory |
|---|---|---|
| clickhouse | cores − 2 (at least 2) | ¼ of memory, 4 to 16 GiB (without an expected rate) |
| control-plane | 1.0 | 1.5 GiB |
| worker | 1.0 | 1 GiB |
| ui | 1.0 | 1 GiB |
| redpanda | 1 core | 1 GiB |
| vector | 0.5 | 512 MiB |
| metadata-db (PostgreSQL) | 0.5 | 512 MiB |
| snmp-trap | 0.5 | 512 MiB |
| minio (local locked store) | 0.5 | 512 MiB |
| gateway | 0.5 | 128 MiB |
| updater | 0.5 | 256 MiB |
| restore-mysql | 1.0 | 2 GiB |
| assistant (optional) | 4.0 | 6 GiB |
Throughput characteristics¶
Use these measured characteristics to understand the sizing tables:
- One worker processes about 8,000 events per second with short SQL statements, and about 3,300 with a heavy mix (long ORM queries, bulk inserts, large
INlists). More CPU for the worker or ClickHouse does not raise this ceiling; the consumer loop is serial. Throughput scales almost linearly with more Kafka partitions and more worker copies (two workers reached about 13,600 events per second). - Vector (syslog path) is limited by parsing: about 1,050 lines per second at its default 0.5 CPU, and about 3,500 lines per second per instance at 1.5 CPU or more. Above that, more Vector instances are needed.
- ClickHouse CPU grows linearly with ingest: about 0.1 core plus 0.12 core per 1,000 events per second on average, with peaks of about twice that. Queries from dashboards and reports can use more CPU than ingest; the recommended sizes include a query reserve.
- Redpanda needs about 1 core and 1–2 GiB of memory up to tens of thousands of events per second.
Note
Scaling beyond one worker (more partitions and worker copies) is not done automatically. The installer prints the commands when one worker is not enough for your target.
Sizing tables¶
The tables give, for each expected rate, the minimum (ingest only) and the recommended size (with a query reserve of 4 cores and 8 GiB for ClickHouse plus 2 vCPU and 4 GiB for the other services). They assume ClickHouse keeps 30 days hot and Redpanda buffers 24 hours. They do not include high availability, backups, TLS, cloud-source consumers or about 10 % for the operating system.
Syslog path, short SQL¶
Guardium or other syslog → Vector → Redpanda → worker → ClickHouse.
| Events/s | Vector | Worker (partitions) | Host minimum → recommended | ClickHouse disk/day | Redpanda disk/day |
|---|---|---|---|---|---|
| 1,000 | 1 × 2 CPU | 1 (1) | 6 vCPU / 6 GiB → 11 vCPU / 19 GiB | 20.9 GiB | 43.9 GiB |
| 2,000 | 1 × 2 CPU | 1 (1) | 6 vCPU / 6 GiB → 12 vCPU / 19 GiB | 41.8 GiB | 87.9 GiB |
| 5,000 | 3 × 2 CPU | 1 (1) | 8 vCPU / 7 GiB → 13 vCPU / 20 GiB | 104.6 GiB | 219.7 GiB |
| 10,000 | 5 × 2 CPU | 2 (4) | 12 vCPU / 10 GiB → 18 vCPU / 21 GiB | 209.2 GiB | 439.3 GiB |
| 20,000 | 9 × 2 CPU | 4 (8) | 22 vCPU / 13 GiB → 27 vCPU / 24 GiB | 418.4 GiB | 878.7 GiB |
| 50,000 | 21 × 2 CPU | 10 (20) | 52 vCPU / 26 GiB → 58 vCPU / 37 GiB | 1.0 TiB | 2.1 TiB |
Kafka path, short SQL¶
Filebeat, Event Hub, Kinesis or direct Kafka → worker → ClickHouse.
| Events/s | Worker (partitions) | Host minimum → recommended | ClickHouse disk/day | Redpanda disk/day |
|---|---|---|---|---|
| 1,000 | 1 (1) | 5 vCPU / 6 GiB → 10 vCPU / 19 GiB | 20.9 GiB | 160.5 GiB |
| 2,000 | 1 (1) | 5 vCPU / 6 GiB → 10 vCPU / 19 GiB | 41.8 GiB | 321.1 GiB |
| 5,000 | 1 (1) | 5 vCPU / 6 GiB → 10 vCPU / 19 GiB | 104.6 GiB | 802.7 GiB |
| 10,000 | 2 (4) | 7 vCPU / 9 GiB → 12 vCPU / 20 GiB | 209.2 GiB | 1.6 TiB |
| 20,000 | 4 (8) | 11 vCPU / 11 GiB → 16 vCPU / 22 GiB | 418.4 GiB | 3.1 TiB |
| 50,000 | 10 (20) | 25 vCPU / 21 GiB → 30 vCPU / 32 GiB | 1.0 TiB | 7.8 TiB |
Kafka path, heavy SQL¶
The same path with a heavy statement mix (assumption: 45 % long statements, about 3.8 KB per message).
| Events/s | Worker (partitions) | Host minimum → recommended | ClickHouse disk/day | Redpanda disk/day |
|---|---|---|---|---|
| 1,000 | 1 × 2 GiB (1) | 5 vCPU / 7 GiB → 10 vCPU / 20 GiB | 61.6 GiB | 321.1 GiB |
| 2,000 | 1 × 2 GiB (1) | 5 vCPU / 7 GiB → 10 vCPU / 20 GiB | 123.1 GiB | 642.1 GiB |
| 5,000 | 3 × 2 GiB (6) | 8 vCPU / 11 GiB → 13 vCPU / 24 GiB | 307.8 GiB | 1.6 TiB |
| 10,000 | 5 × 2 GiB (10) | 13 vCPU / 17 GiB → 18 vCPU / 28 GiB | 615.6 GiB | 3.1 TiB |
| 20,000 | 10 × 2 GiB (20) | 23 vCPU / 27 GiB → 28 vCPU / 38 GiB | 1.2 TiB | 6.3 TiB |
| 50,000 | 24 × 2 GiB (48) | 52 vCPU / 59 GiB → 57 vCPU / 70 GiB | 3.0 TiB | 15.7 TiB |
The rows for 1,000 to 2,000 events per second (and up to 10,000 on the Kafka path with short SQL) were measured; higher rows are extrapolated from the same model.
Get a recommendation for your numbers
Enter your expected rate, ingest path and SQL type in the web installer's Load step or with install.sh --expected-tps N --ingest-path syslog|kafka --sql-profile simple|heavy. The recommendation uses the same model as these tables and says whether the machine is large enough.
Disk growth¶
| Store | Growth | Notes |
|---|---|---|
| ClickHouse (hot tier) | About 260 bytes per event with synthetic short SQL (about 3× that with heavy SQL) | Real Guardium data compressed to much less in testing (under 30 bytes per row), because many columns are empty or repeated. Measure your own value after a day of traffic. How much stays hot depends on the hot limit. The control plane's runtime default is days mode, 365 days; see Hot and cold storage tiers. |
| Redpanda | Message size × rate × buffer time | Redpanda keeps records for 7 days by default with no size limit. Plan for at least your longest expected worker or ClickHouse outage. |
| Locked store (cold tier) | Parquet files, typically smaller than the same data in ClickHouse | Kept for the full lock period (default 5 years); locked space cannot be reclaimed early. For up to 30 days, the 10-minute files and the daily file coexist. |
| Vector disk buffer | Up to 2 GiB by default | Fills only while Redpanda is unreachable. |
| Backups | Depends on configuration size and the ClickHouse backup type | Activity data is not duplicated when the backup location is the locked store. |
Keep the ClickHouse and Redpanda data on fast local disks (SSD or NVMe). Plan the ClickHouse disk so that the hot limit, not the disk guard, decides what stays hot.
Separate data disk¶
The growing data does not have to share the root disk. On a new installation you can put it in a data directory on a separate disk (for example /data/qubesight), while the release stays in the installation directory:
- The data directory holds ClickHouse, Redpanda, the local locked store (MinIO), the archive drop directory, the Vector disk buffer, PostgreSQL, the backups, the embedded language model and the Guardium restore MySQL. Size the data disk with the table above; the installation directory then needs little more than the release and the images.
- The installer offers a mounted disk automatically when it is a local file system (ext4, XFS, Btrfs, ZFS and similar) with at least 20 GiB free and is both larger and has more free space than the installation directory's disk. Network file systems are not offered; use fast local storage.
- Mount the disk through
/etc/fstabbefore you install. The installer makes the container engine wait for the mount at boot (RequiresMountsFor), so the services do not start if the disk is missing. - The data directory is chosen only on the first installation.
See Data disk.
High-availability cluster¶
Enterprise
| Member | Size |
|---|---|
| Full node (two or more) | Each full node holds a complete copy of the activity data and runs every service. Size each one like a single node for the full rate. |
| Witness | Runs ClickHouse Keeper, etcd and a Redpanda broker only. A small server is sufficient; give it enough disk for the Redpanda buffer, because the broker holds a replica of every topic. |
| Vault server (recommended) | Disk for the full lock period of the cold tier. CPU and memory needs are small. |
The virtual IP must be a free address in the subnet of the full nodes. keepalived uses unicast VRRP, so no multicast is needed, but the address can only move between nodes in that subnet.
Browsers¶
QubeSight is a modern web application. Use a current version of:
- Google Chrome or another Chromium-based browser (Microsoft Edge, Brave);
- Mozilla Firefox;
- Apple Safari.
Internet Explorer is not supported. The interface adapts to tablet and phone widths. The browser must be able to reach the server on the web port (default 3000, HTTPS).