What you run
The processes and services a Nova deployment needs, what each one keeps, and where to start.
This tab is for whoever installs and runs Nova. A Nova deployment is a set of novad nodes, an S3-compatible bucket that holds every record, and a metadata store that says where each record is. The nodes keep no record data on their own disks, so you can add, replace or lose one without copying data.
The parts
| Part | Required | What it does | What it keeps |
|---|---|---|---|
Nodes (novad) | Yes | Serve clients, lead streams, and run the background auditor | Their identity, and the metadata store's share when it is embedded |
| Object storage | Yes | Holds every record: one standard bucket, plus one express bucket per zone for Express streams | Every record |
| Metadata store | Yes | Records buckets, streams, where each record is, and which node leads each stream | No record bodies |
Gateway (novagateway) | No | Serves the HTTP API to browsers and clients outside your network, with TLS, token checks and limits | Nothing |
| Object cache | No | A shared read cache in front of the standard bucket, one pool per zone | Copies of objects |
| Audit-only nodes | No | novad --audit=only runs the background work and serves no clients | Nothing |
The metadata store is oxia. It runs inside novad unless you point the nodes at one of its own; Run the metadata store compares the two. The bucket and the metadata store are only useful together: the bucket holds the records, and the metadata says where they are. A bucket without its metadata, or metadata restored over newer objects, loses records.
Deployment sizes
The storage flags decide the size of a deployment, from one process that forgets everything to a cluster that survives a lost machine.
| Size | Storage flags | Where records and metadata live | Use when |
|---|---|---|---|
| In memory | None | In the process, lost when it exits | Trying the API, and tests |
| One process on its disk | --local-data | Under --dir, in data/ and metadata/, with no copies | Development that must survive a restart |
| Standalone | --s3-bucket | Records in the bucket; one copy of the metadata under --dir | An install you can rebuild |
| Cluster | --s3-bucket and --oxia-server-peers | Records in the bucket; three copies of the metadata, on three nodes | Production on a few machines |
| Cluster, external metadata store | --s3-bucket and --oxia | Records in the bucket; the metadata on oxia's own machines | Many nodes, or metadata backups |
The first two sizes are single processes. A node warns at start which one it runs:
[WARN] novad: IN-MEMORY storage; all stream data and metadata are lost on exit; use --local-data or --s3-bucket to persist node_id=01a20519-… storage=memory metadata=memory dir=./.novad dir_used=false
[WARN] novad: LOCAL DISK storage; data survives restarts but is not replicated; losing this directory loses all data node_id=01a20519-… storage=local data_dir=…/.novad/data metadata_dir=…/.novad/metadataNeither can join a cluster: --oxia and --oxia-server-peers need --s3-bucket. --local-data also refuses Express buckets, while an in-memory node simulates them with --s3-express-buckets. Every flag and its default is in the novad reference.
Choose how to run it
| Where | You manage | Use when |
|---|---|---|
| Machines | One novad binary per machine, under systemd | Virtual or physical machines without containers |
| Docker | One container per machine | Machines that already run containers |
| Kubernetes | One cluster resource; an operator runs the rest | A Kubernetes cluster, and autoscaling |
| Docker Compose | One file on your laptop | Trying Nova and developing against it, never production |
A cluster needs three nodes or more. With three, it survives the loss of any one machine, its disk included.
Ports
| Port | Flag | Who connects |
|---|---|---|
7780 | --listen | Clients, the CLI, and the Gateway |
| Off unless set | --http-listen | Trusted HTTP clients of the data bridge |
7790, in these guides | --fleet-listen | The other nodes and the Gateway |
9090, in these guides | --metrics-listen | Prometheus, health checks and the admin dashboard |
6660 to 6664 | --oxia-server-port | The other nodes, for the embedded metadata store |
8080 | novagateway --listen | Browsers and outside clients |
Only 7780, the data bridge when you turn it on, and the Gateway's port are for clients. Keep the others on a private network; Network, ports and TLS says why.
Where to go next
- Get started. Run a local cluster, then read the production checklist.
- Deploy. Set up object storage, choose where the metadata store runs, then install on machines, Docker or Kubernetes. Add the Gateway and the object cache when you need them.
- Secure. Turn on authentication and lock down the network.
- Run. Size the cluster, upgrade it, add and remove nodes, and back up the metadata.
- Observe and fix. Metrics, alerts, logs, and failure modes.
- Look up. Every flag of novad and novagateway.
The Architecture tab explains how these parts work together.