Glossary

Glossary

Plain definitions of the words a developer meets when using Nova, each linked to the page that explains it.

This glossary defines the words you meet when you use Nova, in plain terms. Each entry links to the page that explains it. The words used to describe how Nova works inside are in the internals glossary.

For example, nova://my-app/orders names a stream by its bucket, my-app, and its key, orders. You append records to it, and each record gets a sequence number.

Streams and records

Address

A stream's name: its bucket and key, written nova://bucket/key. Every call names a stream by its address. See buckets.

Body

The bytes a record carries. Nova stores them as you send them and never reads them. See records.

Bucket

A named group of streams that gives each new stream its default settings. It must be created before its streams. See buckets.

Class

How Nova stores a stream's new records: Standard, the default, or Express. Both are durable when Nova acknowledges an append; they differ in speed and cost. See storage classes.

Default stream settings

The settings a bucket gives every stream created in it: class, producer policy, timestamping, retention, and throughput. A stream copies them once, when it is created. See settings.

Express

The storage class for fast acknowledgements. Nova writes a copy of new records to storage in each availability zone and acknowledges once two copies are stored. See storage classes.

A name and value pair of bytes attached to a record, returned exactly as appended. Names cannot be empty and can repeat, and a record has at most 100 headers. See records.

Key

A stream's name inside its bucket: up to 512 bytes of text, where a slash is part of the name. Not to be confused with a routing key. See buckets.

Kind

Whether a stream is plain, with one sequence, or scalable, with one sequence per range. Set at creation and fixed. See streams.

Location

The cloud region a cluster serves, such as eu-west-1. Every bucket records the location it was created in. See buckets.

Position

A point in a stream: a sequence number and the timestamp of the record there. At an end or a tail, the sequence number is one past the last record. See streams.

Record

One item in a stream: a body, optional headers, a timestamp, and a sequence number. See records.

Record size

A record's body plus every header name and value. Record, batch, and retention limits count this size. Encoding on the wire does not count. See records.

Sequence number

A record's position in its stream, from 0 up, with no gaps. It never changes, even after a trim. The API calls it seq_num. See streams.

Standard

The default storage class. Nova groups the batches of many streams into one object in standard object storage. See storage classes.

Stream

An ordered sequence of records, in one bucket, named by its address. See streams.

Tail

The end of a stream: the sequence number the next record will get, with the last record's timestamp. It counts only acknowledged records and never moves back. See streams.

Timestamping

A stream's rule for whose clock sets record timestamps: client-prefer, the default, client-require, or arrival. Nova lowers a client timestamp that is later than the arrival time, except on an uncapped stream, which keeps it. See records.

Writing

Acknowledgement

Nova's reply to an append, sent once object storage has stored the batch. It gives the batch's start and end positions and the stream's tail. See appends.

Append

Adding records to the end of a stream. See appends.

Batch

The records of one append, stored whole or not at all, with consecutive sequence numbers. At most 1,000 records and 1 MiB by default. See appends.

Fence

The operation that installs, replaces, or clears a stream's fencing token. See writer coordination.

Fencing token

A string of at most 36 bytes that writers present, so that only the current owner of a stream can append. Only a fence installs it. See writer coordination.

Linger

How long a producer waits to fill a batch before it sends it. A longer linger fills batches better and sends them later. See appends.

Match sequence number

A condition on an append: the sequence number its first record must get. If the tail is elsewhere, Nova refuses the batch and returns the tail. The API calls it match_seq_num. See writer coordination.

One-shot append

An append made in a single request, without a session. The way to append from a browser, or now and then. See appends.

Producer

An open producer session with a stream: it sends many batches without waiting for each acknowledgement, and Nova stores them in order. See appends.

Producer policy

A stream's rule for how many writers may append at once: any, the default, or fenced, one at a time. See writer coordination.

Session frame

One message of a producer session carried over HTTP. See Producer sessions.

Session window

The most a producer session can send before Nova acknowledges it: 48 MiB on Standard and 8 MiB on Express by default. A writer that fills it waits. See appends.

Throughput limit

A stream's setting that caps the bytes it takes each second. Appends above it wait. See settings.

Reading

Bookmark

A reader's place in a stream, as a string to store and pass back. On a plain stream it is the next sequence number. See bookmarks.

Check tail

A call that returns only a stream's tail, including every append acknowledged before it. See reads.

Clamp

An option that moves a read's start up to the oldest record still kept, instead of failing below the trim watermark. See reads.

Page

The records one read returns. A page ends at its record or byte limit, at an end time you gave, or at the tail. See reads.

Read

A call that returns one page of a stream's records from a start you choose. See reads.

Read plan

A list of the storage objects and byte ranges that hold part of a stream, so a consumer can fetch old records from object storage itself. gRPC only. See how reads find records.

Retention

A stream's setting that trims its oldest records automatically, by age, by size, or both. See retention.

Subscribe

A read that does not stop: it delivers the records from its start, then each new record as Nova stores it. Over HTTP it is a stream of server-sent events. See reads.

Trim

Making a stream's oldest records unreadable by moving its trim watermark forward. See trimming.

Trim watermark

The first sequence number of a stream that a reader can still read. A read below it fails with 410 Gone. See trimming.

Scalable streams

Part

One range's share of an append whose records carry different routing keys. Each part is a batch of its own. See keys and ranges.

Range

One partition of a scalable stream, with its own sequence numbers. Nova splits a busy range in two and merges quiet ones. See keys and ranges.

Routing key

The string on a record of a scalable stream, or a queue message, that picks its range. Records with the same routing key stay in one range, in order. See keys and ranges.

Scalable stream

A stream whose records are spread over ranges behind one address, so its write rate can grow past one node. See scalable streams.

Split and merge

What Nova does to a scalable stream's ranges as its load changes: a split replaces a busy range with two children, and a merge joins quiet neighbours into one. See keys and ranges.

Queues

Ack and nack

A worker's answer to a claim. An ack says the work is done. A nack says the attempt failed, so Nova delivers the message again after a wait. See delivery and claims.

Attempt

One delivery of a message, counted toward its retry policy: 1 when first delivered, and one more after each nack or missed deadline. See delivery and claims.

Claim

One message handed to one worker until a deadline. It ends with an ack, a nack, the deadline, or the queue taking it back. See delivery and claims.

Claims mode

Where a queue records its claims: memory, the default, or persisted, which survives a node failure at the cost of a write per claim. Fixed at creation. See delivery and claims.

Credit

A worker's permission for a node to deliver it one more message on a work session. The SDK workers grant credit for you. See run a worker.

Dead-letter stream

Where a queue moves the messages that used up their attempts or that a worker gave up on. You can read them and replay them into the queue. See retries and dead letters.

Dedup policy

How a queue recognizes a repeated send with the same idempotency key: memory, the default, or durable, which also works after a range moves to another node or splits. See idempotent sends.

Dispatch budget

An optional cap on the claims per second one node delivers across all its queues. It is off unless the node is configured with a rate. See Operate › Queues.

Dispatcher

A node that delivers a queue's ranges to workers. A worker connects to each node that delivers its queue. See run a worker.

Extend

A worker's request for more time on a claim. No claim lasts past 12 hours after delivery. See delivery and claims.

Idempotency key

A key you give a send so that the queue stores a repeat of it only once. See idempotent sends.

Isolated range

A range that holds only one noisy key, so the key's messages stop delaying the others. See fairness.

Max deadline

The latest a claim's deadline can be: 12 hours after the message was delivered. An extend past it is refused, and the claim keeps its deadline. See delivery and claims.

Message

One record of a queue, together with its delivery state: its attempt, its claim, and when it is due. See queues.

Noisy key

A routing key whose messages make up more than half of a range's backlog, so other keys wait behind it. Nova moves it to an isolated range. See fairness.

One-shot claim

A request that takes messages without a work session, waiting up to a limit for the first one. The way to consume over HTTP or the Gateway. See run a worker.

Purge

Removing every message a queue has not settled, including those waiting for a retry and those out with workers. Dead letters stay. See manage queues.

Queue

A scalable stream that Nova delivers as messages to a pool of workers, each message to one worker at a time, at least once. See queues.

Queue kind

A queue's ordering rule, set at creation: standard, with no order, or key_ordered, one message of each routing key at a time, in the order sent. See ordering.

Quiet and leftover work

The two classes of queue work. An isolated range's messages are leftover work while it has a backlog; every other range's are quiet work, which nodes and workers serve first. See fairness.

Replay

Sending dead-lettered messages back into their queue. See retries and dead letters.

Work session

A worker's long-lived connection to one node, over which the worker grants credit and settles claims, and the node delivers messages. Each session also counts a generation, which a custom worker uses to match credit to deliveries. See run a worker.

Worker

Your process that takes messages from a queue and does the work. See run a worker.

Access

Action

What a token's scope allows: append, read, list, create, delete, or trim. See API keys and tokens.

API key

A long-lived secret, starting nova_sk_, that a backend exchanges for short-lived tokens. It is never sent with data calls. See API keys and tokens.

Exchange

The call that trades an API key for a short-lived token, narrowed to a bucket, a stream, or a scope. See API keys and tokens.

Root credential

The first API key of a new cluster, holding nova:admin. nova credential generate creates it offline, and every node registers it at boot from a seed that holds only a hash of the secret. Every other API key is created with it. See Credential commands.

Scope

The list of permissions in a token, each written nova:<action>:<bucket>:<key>, where a trailing * matches a prefix. See API keys and tokens.

Token

A short-lived credential, a JWT, that a client sends with every call in the Authorization header. See how clients authenticate.

Connecting

Auditor

The background process that reclaims the storage of expired records and deleted streams. See Operate › The auditor.

Bucket host

One bucket's own hostname, {bucket}.b.{location}.{domain}. It serves that bucket's stream calls and nothing else; bucket and credential calls go to the door. A client derives it from the door, or sends every call to the door instead. See Where to send requests.

Data bridge

The HTTP API that each node serves for callers inside the cluster's network. It forwards a call to the stream's leader for you. See the API overview.

Domain

The DNS name a deployment owns for Nova, such as nova.example.com. Each location's door is one label below it. A client that knows the domain and a location needs no other address. See Configure a client.

Door

One location's hostname, {location}.{domain}, served by a Gateway. It answers every call, with the bucket in the path, and each bucket behind it also has its own bucket host. See Connect.

Gateway

The HTTP entry point for clients outside the cluster. It can check tokens, and it sends each call to the right node. See Operate › Gateway.

Leader

The node that currently serves a stream's writes. The SDKs and the Gateway find it for you. See how Nova fits together.

Node

One running novad process. A cluster has one or more, and any of them can answer any call. See What you run.

Transport

The TypeScript SDK package that carries calls: @supabase/nova-transport-grpc or @supabase/nova-transport-http. You pass one to the client when you create it. See SDKs.

On this page