Internals glossary

Internals glossary

Plain definitions of the words Nova's code and its Internals pages use, each linked to its owner page.

These are the words a contributor meets in Nova's code, logs, and Internals pages. Each entry gives a plain definition and links to the page that explains it. The words a developer sees in the API are defined in the Use Nova glossary. CONTEXT.md at the root of the repository is the glossary of record.

Nodes

Constellation

The whole running system as one unit: its nodes, its auditors, and its metadata store. It is also the name of the Kubernetes resource the controller manages. See Overview.

The file <dir>/node-id, which records a node's identity. On restart, a node refuses a configured identity that maps to a different StarID, so one node never takes over another node's data directory.

Founding peer

The first address in --oxia-server-peers. It founds embedded oxia's raft group when its directory holds no raft state. A standalone node grown into cluster mode must be listed first. See Founding the keyspaces.

Metadata peer

A node named in --oxia-server-peers. It runs embedded oxia's coordinator and votes in its quorum. Every node holds the same list, and a joining node dials it. Plain "peer" means any other node. See The embedded metadata store.

Node ID

The name set with --node-id, any name without whitespace. A UUID is used as the StarID as it is. Any other name maps to a fixed UUID in Nova's namespace. Without the flag, a node reads or mints one at <dir>/node-id. Logs show it as node_id.

Standalone mode

One node running an embedded oxia data server under --dir, with no coordinator and no replication. --s3-bucket without --oxia-server-peers or --oxia selects it, and it can grow into cluster mode in place. See On machines.

Cluster mode

Several nodes sharing one metadata store, either embedded oxia (--oxia-server-peers) or external oxia (--oxia). See On machines.

Client listener

The listeners clients reach: --listen for gRPC and --http-listen for the data bridge. They hold at most --max-client-connections (4,096) connections in total and 512 per source address, and close a connection past either cap as they accept it. A call that arrives here is given client addresses in redirects. See Network.

Fleet listener

A node's second gRPC listener, --fleet-listen, for Nova's own processes: nodes, auditors, Gateways, and the controller. It serves the same services as the client listener, does not count against its caps, and admits a call only with a fleet credential. A call it admits is given fleet addresses in redirects. See The fleet listener.

Fleet credential

What admits a call to the fleet listener. With JWT auth it is a token with nova:node, nova:admin, or nova:gateway, sent in authorization, or in nova-fleet when authorization carries a caller's token. With mTLS it is the handshake, and with basic auth the operator login. It grants nothing else: each call is still authorized by its own credential. See The fleet listener.

Star

Nova's internal name for one running novad. A group of stars is a constellation. See Overview.

StarID

A node's stable 16-byte identity. Metadata, the node registry, and object keys carry it. A minted one is a UUIDv7, so StarIDs sort by time. See Storage layout.

Zone

The availability zone a node runs in, set with --zone. Placement spreads nodes by it, and Express reads try the zone's own bucket first. Nova treats the label as opaque.

The write path

Admission budget

One storage class's bound on the bytes its write path holds, from the moment a batch is decoded until its payload is consumed. A full budget makes the next batch wait: backpressure, never a refusal. It takes a batch over from the ingress budget. See Backpressure.

Backlog / Backlog budget

The flights a ledger has acknowledged that the indexer has not yet absorbed. The budget caps it at 1,024 flights and 4 GiB by default. At the cap, new flights wait. It bounds the leader's memory, the work a successor must redo, and the time only the leader can read the newest records. See WAL, slots and ledgers.

Blocking set

K−W+1 buckets of one slot holding poison. With that many, the slot can never reach W flight copies, so it is the ledger's cut. See Epochs and fencing.

Bucket set

The K buckets every slot of a ledger is written to. Standard uses one bucket. Express uses one bucket per availability zone listed in --s3-express-buckets, at least two. Each ledger records its set when it is minted. See WAL, slots and ledgers.

Checkpoint

A ledger's first slot the indexer has not absorbed. Slots below it have references. Trims stay below it, and recovery starts at it. It moves only forward, by CAS. See WAL, slots and ledgers.

Copy quorum (W)

The number of bucket copies that commit a slot. Standard uses W=1. Express uses at least 2 and never lowers it, even when a zone is down. See WAL, slots and ledgers.

Copy set

The Express buckets that confirmed one write before it counted as durable. It is write-time accounting and is never stored. Reads try the configured bucket set, and deletes go to all of it.

Core

One storage class's write implementation: opening, dispatching, acknowledging, and closing writes. Each class builds its own, in internal/storage/durability. See Code map.

Cut

The end of a fenced ledger: its first slot that can never commit. Every slot below it is committed, with no gaps. The ledger record stores it once a fence publishes it. See Epochs and fencing.

Epoch

A ledger's number. A star takes the next one from its mint counter each time it starts a ledger. Epochs compare only within one star and one class. See Epochs and fencing.

Epoch fencing

Ending a ledger so its old writer can commit nothing more. The fence writes poison into the first open slot until the slot can never commit. It is separate from a producer's fencing token. See Epochs and fencing.

Facade

The serving core's write coordinator: it assigns sequence numbers, runs the class's write strategy, and controls read visibility. Code comments call internal/star and its packages the facade. See Code map.

Hard line

The heap watermark's line for its last resort, midway between its high mark and the live heap the pod holds at the garbage collector's goal. A node without a pod memory limit has none.

Heap watermark

A node's guard on the memory no budget counts: the live heap and the goroutine stacks. Past a high mark, the node refuses new data calls and pauses its producer sessions' reads until the heap falls under a low mark. Past its hard line, it falls to the last resort. See Backpressure.

Ingress budget

A node's bound on the bytes of HTTP requests it reads and decodes at once, --ingress-budget-mib, sized by the memory plan by default. A request takes its share before its body is read. When the budget is full, the node stops reading new bodies. A request still waiting at its deadline is refused, or after --ingress-max-wait (30 s) if it has none. gRPC requests do not use it. See Backpressure.

Flight

A group of pooled batches from many streams, written as one object into one slot. A flight is the unit that becomes durable and is acknowledged. See WAL, slots and ledgers.

Flusher

The one loop per class that cuts flights from the pool and hands them to the WAL in arrival order. Slot order is therefore arrival order. See WAL, slots and ledgers.

Last resort

What the heap watermark does past its hard line: it ends the producer sessions that hold the most heap, first those holding a decoded batch that waits for admission, largest first, then paused ones, until it has freed what the heap stood past the line. Each ended session is told the node is busy and when to try again.

Ledger

A run of consecutive slots written by one writer under one epoch. A WAL is a sequence of ledgers. A ledger holds every stream its node leads in that class; one stream's share of it is a segment. Its record is ledgers/<star>/<epoch>. See WAL, slots and ledgers.

Loglet

The slot mechanics under a ledger, in internal/storage/loglet. Its live half numbers slots and releases acknowledgements in order. Its static half fences, walks, trims, and probes for garbage. It never touches the metadata store. See WAL, slots and ledgers.

Mint grace

How long after a ledger's mint its star's absence from the registry proves nothing: the metadata session timeout. A star mints before it registers, so a younger head may belong to a star that is still starting. See Ledger recovery.

Payload consumption

The moment every upload reader of a flight has finished. The flight's memory stays charged until then, even after its quorum acknowledged it. Publication.Consumed reports it.

Poison slot

A slot holding a fencer's poison: a slot envelope with nothing after it. Poison in K−W+1 buckets ends the ledger at that slot. Poison stays until star reclaim runs after the star is decommissioned. Even then, the poison of the star's last ledger in each class stays for good, because a cut-off process of that star may still try to write there. See Epochs and fencing.

Pool

A node's buffer of accepted batches for one class, waiting to be cut into flights. It holds at most 256 MiB by default; at the cap, producers wait. See WAL, slots and ledgers.

Repair

Completing a slot during a fence by copying its flight into the empty buckets until W hold it. A ledger has one writer, so a slot has only one possible content. Repair always comes before poison. See Epochs and fencing.

Retention weight

What a memory budget charges for data it holds. Transport admission adds an estimate of decoding cost. Internal admission and the tail cache charge content bytes, at least one byte per record.

Roll

A WAL replacing its halted ledger in place: it fences the ledger, acknowledges the flights below the cut, mints the next ledger, and republishes the rest. See WAL, slots and ledgers.

Slot

One numbered position in a ledger, with the same key in every bucket of its set. Each bucket can hold at most one object there. W flight copies commit the slot; K−W+1 poison copies end it. See WAL, slots and ledgers.

Slot envelope

The 60 bytes at the start of every slot: kind, epoch, slot number, writer nonce, object size, footer location, and a CRC-32C. One small read classifies the slot and finds its footer. See WAL, slots and ledgers.

Slot layout

A ledger's key shape, recorded when it is minted: hashed (wal/<h>/<star>/<epoch>/<seq>) or star (wal/<star>/<epoch>/<seq>). Span rows and denorm markers copy it, and every reader derives keys from it. See Storage layout.

Strategy

A storage class's write behavior. Standard writes each flight to one standard bucket. Express writes it to its bucket set and waits for W copies. The class's core implements it.

WAL

A node's write-ahead log in object storage, one per class. An append is acknowledged once its flight commits there. A WAL is a sequence of ledgers under wal/. The word never means the metadata store's own log. See WAL, slots and ledgers.

Writer incarnation

One process's right to roll its star's WAL for one class. Its generation is the first epoch that process minted. Recovery revokes the head before fencing it, so a revoked process can never roll back into service. See Epochs and fencing.

Indexing and recovery

Absorb

The indexer's one operation. It turns a run of committed slots into one span row per stream, arms the denorm marker, and advances the checkpoint. It writes metadata only. See WAL, slots and ledgers.

Absorb watermark

A node's published instant through which every flight it acknowledged is durably checkpointed. It moves only with durable checkpoints, and zero means unknown. See Leadership.

Indexed

A ledger's final state: fenced, with references for every committed slot below its cut, and no garbage above it. The states before it are open and fenced. See Ledger recovery.

Indexer

The component that turns a WAL into per-stream metadata after acknowledgement. Its live loop runs on the leader. Ledger recovery runs the same code over a stopped ledger. See WAL, slots and ledgers.

Ledger recovery

Taking a stopped ledger to Indexed: fence it, absorb its committed slots, delete the garbage above the cut, and mark it Indexed. It moves no record bytes. "Recovery" alone means this. See Ledger recovery.

Recovery claim

The session-bound record recovery/<star>/<epoch> that lets one recoverer walk a ledger at a time. Correctness does not depend on it; it only saves duplicate work. See Ledger recovery.

Segment

One stream's share of one ledger. Nova reads segments from the committed reference rows; they have no keyspace of their own. The node that built one is its builder. See Ledger recovery.

Segment meta

The facts about a segment, its builder and epoch. Nova reads them from committed reference rows.

Storage

Batch marker

The denorm work item each absorb arms: due/denorm/<shard>/<star>~<epoch>~<firstSlot>. It ripens at the class's age cap, or at the linger after a size crossing. See Stream objects and denorm.

Bundle

The object format Nova writes: chunks grouped by stream, a footer, and a 40-byte trailer. Both transit bundles and stream objects use it. See Storage layout.

Catalog row

A reference row listing up to 128 stream objects of one stream, in order. Each entry holds the epoch, first sequence number, revision, footer range, bytes, time bounds, and class, which together give the object's key. See Stream objects and denorm.

Chunk

Consecutive records of one stream inside a bundle. Its bytes can be copied to another object unchanged. See Storage layout.

Directory

The footer entries that describe chunks: stream, record range, byte location, record lengths, timestamps, batch ends, and checksums. See Storage layout.

The index at the end of a bundle: its directory and a fixed-width chunk index a reader can binary-search. See Storage layout.

Ref

A metadata row mapping a range of one stream's records to object storage, keyed by its first sequence number. A span ref names WAL slots; a catalog row names stream objects. See Metadata keyspaces.

Revision

A stream object's rewrite counter. The first output has revision 0 and the plain key; each rewrite publishes the next revision under a ~<revision> suffix, so no object is overwritten. See Storage layout.

Span ref

A reference row covering one stream's records across one absorb's slots. It lists each slot with its first sequence number and footer range, plus bytes and time bounds. Denorm later replaces it with a catalog row. See WAL, slots and ledgers.

Storage class

The kind of object storage an object is in: standard or express. Every reference and marker that names an object records its class. Stream objects are always standard; only live Express WAL slots are express. See Storage layout.

Stored record

A record's encoding inside an object: a flag byte, an optional header table, and the body. A record without headers costs one byte of framing. See Storage layout.

Stream object

An object holding consecutive records of one stream, under streams/<bucket>/<stream-id>/. Denorm builds it from transit bundles. See Stream objects and denorm.

Transit bundle

A bundle written as one flight into a WAL slot, holding records from many streams. Denorm copies its records into stream objects, and the auditor then deletes it. See Storage layout.

Background work

Age cap

The longest a record stays in transit before its batch marker ripens: 24 hours on Standard, 1 hour on Express. See Stream objects and denorm.

Delete budget

The auditor's bound on background deletes per storage bucket, --auditor-delete-budget (1,000 keys a second), shared by every live auditor. Each key of a batch delete counts as one, as S3 counts it. A throttle halves the rate and pauses deletes for a while. See The auditor.

Denorm

The auditor duty that copies each stream's records out of transit bundles into stream objects, so the WAL slots can be deleted. The name is short for denormalize. See Stream objects and denorm.

Denorm frontier

A ledger's first slot with a standing batch marker. It only moves forward, and no denorm job writes behind it. See Stream objects and denorm.

Due-queue

The auditor's work list for one duty: due keys under due/<duty>/<shard>/…, in 64 shards. Each shard is one auditor's seat, read in key order by bounded prefix scans and never swept. Work is filed in the same commit that creates the need for it. See Due-queues.

Era

A run of ready batch markers from one ledger, copied by one denorm job. Only one era per ledger runs in the fleet at a time. See Stream objects and denorm.

Fetch cache

An optional disk cache of whole objects on an auditor, set with --auditor-fetch-cache-dir. Denorm uses it so many streams share one download. Losing it is safe. See Stream objects and denorm.

Linger

The wait after a stream's running total crosses a multiple of 8 MiB before its batch marker ripens: 5 minutes by default. More records gather meanwhile. See Stream objects and denorm.

Pin cap

4 GiB per ledger. When that much sits behind a ledger's earliest standing marker, and the marker is at least a linger old, every marker behind it ripens at once. See Stream objects and denorm.

Probe

The check of whether a stream object still holds referenced records. It reads the footer and looks up references for its ranges. See Reclamation.

Purge gate

Final teardown's wait before it purges a deleted stream's row. It opens only when every ledger that could hold the stream's records is absorbed past the delete, as shown by its owner's absorb watermark, and no node's clock runs more than 10 seconds ahead. Before it purges, the walk ends any leadership of the stream that outlived the delete. See Final teardown.

Read budget

The auditor's bound on its object-storage reads per bucket (every GET, LIST, and copy part), shared by the live auditors: --auditor-read-budget, 10,000 requests a second by default. Each auditor starts slow, climbs while storage is calm, and halves its rate on every throttle.

Reap-check

A scheduled check on an object that lost some references. It can schedule a rewrite, resolve itself, or mark the object for deletion. See Duties.

Reclaim

Removing data no longer needed: old references, unused objects, and the work of retention and deletion. Due markers schedule each step. See Reclamation.

Retained

The stream history counted by references at or above the trim watermark. A reference that crosses the watermark counts in full. See Duties.

Rewrite

Moving live records into new stream objects and committing new references. Denorm, garbage collection, and tail extension all use it. See Reclamation.

Star reclaim

The auditor duty that cleans up after a decommissioned star: it waits for its slots to be trimmed, then deletes its ledger records and leftover WAL keys. See Duties.

Transit window

The records of a stream that have references but still live in transit bundles. Denorm copies the whole window at once. See Stream objects and denorm.

Trim-check

A scheduled check that deletes a ledger's copied slots: after the read grace, it deletes [trimmed, rewritten) from every bucket. Only the auditor deletes WAL slots. See Duties.

Watcher

Anything that makes sure an object is checked again: a reference, an orphan intent, or a due marker. Every object always has at least one. See Reclamation.

Metadata

Dispatch keyspace

<prefix>-dispatch: everything a queue keeps beyond its messages. It cannot be rebuilt, so it is backed up with the streams keyspace. See Metadata keyspaces.

Embedded oxia

The metadata store running inside the nodes. Every node runs a data server; metadata peers also run the coordinator. See The embedded metadata store.

External oxia

The metadata store deployed apart from the nodes and reached with --oxia. See Metadata store.

Detached star

A node partway through the move to external oxia: it runs with --oxia and --oxia-server-peers, its data is on external oxia, and it asks oxia to release the data server it hosted. See Metadata store.

Locality

A routing key that keeps related records on one shard. All of a stream's rows share streams/<id>. See Metadata keyspaces.

Metadata backup

A copy of one metadata shard in object storage, taken on a schedule by the server that holds it and kept for a retention period. A restore rebuilds a keyspace as of a time from these copies, under a new namespace prefix that the nodes then move to. See Backups and restore.

Metadata store

Where Nova keeps its metadata behind one key-value interface: in memory, embedded oxia, or external oxia. It has five keyspaces. See Metadata keyspaces.

Oxia move

Moving a running constellation's metadata store from embedded to external oxia: data servers first, the coordinator second. See Metadata store.

Queues keyspace

<prefix>-queues: the auditor's due markers, orphan intents, and recovery claims. It changes fast and can be rebuilt. It is not the dispatch keyspace. See Metadata keyspaces.

Registry keyspace

<prefix>-registry: stream addresses, buckets, and credentials, in natural key order so prefix listings work at any depth. See Metadata keyspaces.

Sessions keyspace

<prefix>-sessions: liveness, node stats, writer leases, rings, and job claims, all bound to sessions. It is never backed up. See Metadata keyspaces.

Streams keyspace

<prefix>-streams: each stream's references, trim, last writer, and fencing token, plus ledgers. It only moves forward. See Metadata keyspaces.

Leadership and reads

Authority

The stream whose policies govern a leadership's records: the stream itself, or for a range of a scalable stream, its parent, since a range has no policy of its own. A leader reads it once when it takes the stream and keeps it for its tenure: the retention policy, the producer policy, the caller's fencing token, and the row version it read them at.

Clean release

A departing leader's proof that references cover everything it acknowledged. Its last write is the record streams/<id>/release, which the next leader passes on and spends. See Leadership and leases.

Cluster client

The client that routes each call to its stream's leader, follows NOT_OWNER redirects, and remembers the leader. The Go SDK, the CLI built on it, and the Gateway use it. See Gateway and read plans.

Fleet

coord.Fleet: liveness, membership, node stats, writer leases, and placement, over the sessions keyspace. See Leadership and leases.

An in-memory cache of decoded footers, so a later read of an object skips its footer request. A node keeps one (--footer-cache-mib, 256 MiB) and holds each footer for at most half the read grace. The Gateway keeps its own (--footer-cache-bytes, 32 MiB) and holds each footer for 5 minutes. See Gateway and read plans.

Handoff

Moving a stream's leadership to another node. The old leader releases it cleanly, and producers reconnect to the new one. No record data moves. See Leadership and failover.

Idle

An any stream whose last producer closed while its leader's 30-second idle timer runs. A new producer reuses the leadership. A fenced stream releases at once. See Leadership and leases.

Last writer

The record streams/<id>/writer: the star and epoch that last opened the stream, written before its first acknowledgement. The open gate judges it first. See Ledger recovery.

Leadership

A node's write state for one stream: its sequence counter, producers, idle timer, and lease. A node leads many streams. See Leadership and leases.

Limbo

A leadership whose departure could not certify coverage. The node keeps the lease and retries every 5 seconds. See Leadership and leases.

Node stats record

cluster/stats/<star>: a fixed-size record of a node's totals for the admin plane, such as its version, utilization, and the draining, drained, and stranded flags. It sits beside the liveness record, so its updates never rewrite the record placement reads. See Leadership and leases.

Orphaned lease

A writer lease held with no leadership behind it, after an acquire's answer was lost. The next open at that node attaches to it. See Leadership and leases.

Range map

A scalable stream's versioned list of its ranges, kept in the stream's registry row. Each entry holds the range's span of routing hashes, its ID, state, parents, ordinal, and router token, the fencing token an append to that range must present. Clients route appends by it, and a split, merge, or prune moves it to a new version. See Scalable streams.

Read plan

The list of stream objects that hold a stream's records from a position, with the residual from which the node serves the rest. Any node answers one. See Gateway and read plans.

Rebalance

Spreading leadership between nodes by handoffs: off saturated nodes, onto new capacity, and across lasting load differences. See Leadership and failover.

Release flush

A departing leader's last metadata commit for one stream: span rows over the slots still in its memory, then the clean-release record. The shared ledger stays open. See Leadership and leases.

Router token

The fencing token a range of a scalable stream is born under, written in its range-map entry. The SDK reads it from the map and presents it on every append to the range, so only a writer with a current map can append. Sealing the range rotates it to a value nobody holds. It is internal, and separate from a caller's fencing token. See Scalable streams inside.

Saturation

A node at a resource ceiling. It enters at 0.85 utilization of its bottleneck resource and leaves below 0.70. A saturated node takes no new leaderships and hands streams to peers. See Backpressure.

Shed

Refusing new work at an explicit limit. Nova logs each shed.

Slice

A pod's declared share of network, CPU, memory, and, for auditors, scratch disk. Its network value sets --net-capacity. See Sizing.

Storage pressure

A node's report that object storage is throttling its WAL writes, one flag per storage class on its liveness record. A class is flagged while a slot write of that class met a throttle in the last 30 seconds. Auditors pause that class's deletes while any node reports it, and for a minute after, so writes go before deletes. See The auditor.

Stranded

A saturated node that could hand no stream to a live peer. The node stats record reports it. Add capacity. See Sizing.

Tail window

A stream's newest acknowledged records that have no references yet. The leader serves them from memory or from their slots. See How reads find records.

TailSource

The class-specific reader of the tail window. It can say a reader has caught up only when the leader's acknowledged position proves it.

Tenure-held configuration

The stream settings a leadership reads once when it starts and keeps until it ends: class, producer policy, timestamping, and throughput. A change reaches the stream through a handoff. Retention is not one of them. See Leadership and failover.

Vacant

A stream with no writer lease. A read that needs its end runs ledger recovery first if its last writer left records without references. See Ledger recovery.

Vending

Handing a reader stream-object locations from a read plan, as presigned URLs or raw bucket and key. Recent records are always read through Nova. See Gateway and read plans.

Wake

A signal that a stream's readable end moved or its leader left. It carries no data; subscriptions on the leader wait for it and then read again. See How reads find records.

Wire adapter

The part of novad that serves DataPlaneService over gRPC: sessions, redirects, and error translation. See Code map.

Writer lease

The record streams/<id>/lease, bound to the holder's metadata store session. It names the leader and when it acquired the lease. It is advisory: fencing provides safety. See Leadership and leases.

Object cache

Cache-routed read

A ranged read sent through the object cache, with its Range header outside the request's signature so the cache can widen it. It falls back to a direct read. See Object cache.

Object cache

A tier of caching proxies in front of object storage. A hash ring picks an instance per object under a load bound, and every failure falls back to a direct read. An instance at its own concurrency limit answers with a throttle, which the caller retries. See Object cache.

Cluster and operations

Admin bridge

The read-only HTTP and JSON form of the admin queries, served on the operations listener. See Admin UI.

Admin reader

The record viewer on the admin UI's stream page. It polls the read API and keeps its position in the browser. See Admin UI.

Controller

The software that manages Nova through node-level operations: scale, drain, decommission, upgrade. The Kubernetes operator is one. See Node removal ladder.

Corpse

A node still on the roster whose star a witness no longer sees. It is decommissioned without a drain, and the recovery duty recovers its ledgers. See Node removal ladder.

Decommission

Retiring a StarID for good. The registry refuses it from then on, and the auditor cleans up its storage. There is no undo; a replacement gets a new ID. See Node removal ladder.

Drain

Making a node refuse new leaderships and hand its streams to others after a grace period. A drained node leads nothing. An operator's drain is reversible; a shutdown's exit drain is not. See Node removal ladder.

Held

A controller step waiting for the system: the condition DepartureHeld=True names the step and its cause. A held step is asked again on the next pass. See Node removal ladder.

Ladder

The controller's steps for removing a node: drain, the terminate gate, decommission, delete. See Node removal ladder.

Operator

The person or controller running a constellation.

Roster

The controller's saved node list, with each node's identity, pod, and removal phase. See Node removal ladder.

Rung

One step of the removal ladder. Each pass checks it again; it either moves or holds with a reason. See Node removal ladder.

Seat

A ring member's assigned work, such as auditor due-queue shards or queue dispatch shards. It lasts while the member's ring record does.

Star summary

The periodic novad log line with a node's leaders, sessions, rates, and backlog, every --log-summary-interval (1 minute). See Logs.

Witness

A ready node through which the controller reads the fleet and runs verbs about another node: the first roster entry that is not departing and whose pod is ready. See Node removal ladder.

Queues

Ack frontier

A queue range's lowest unacknowledged position. The range's state row saves it in batches, with a bitmap for acknowledgements above it. See Persisted claims.

Attended queue

A queue a node keeps state for, from the first work session or one-shot claim that reaches it until its last seat ends. See Dispatch and windows.

Courier

What a seat uses to read one stored message back and append it to the queue or its dead-letter stream. See Seat lifecycle and crash safety.

Dealer

The part of an SDK worker that decides which dispatcher each free work slot's credit goes to: quiet work first, the dispatchers in turn, and leftover work when none has quiet work, plus one grant in ten. It runs in the SDK, never in Nova. See Work sessions.

Dealt range

A range of an attended queue that a node delivers, filed under a dispatch shard the node owns. See Dispatch and windows.

Drained

A closed queue range delivered to its end. Its seat leaves dispatch, and on a key-ordered queue its child ranges may start. See Seat lifecycle and crash safety.

Due key

A metadata key whose leading field is the time it is ready. The auditor's duties use them, and a queue uses them for retries, delays, and pending dead letters. See Due-queues.

Fetch pool

The part of the window budget kept for record fetches of seats with nothing they can deliver: 64 MiB by default, at most an eighth of the budget. See Node bounds.

Fire

A seat's second goroutine. It waits for the range's earliest due key and sends that message on, to the queue again or to the dead-letter stream. See Seat lifecycle and crash safety.

Idle seat

A seat whose last worker left. It reads no further, and closes after 60 seconds unless claims, writes in flight, delays, or remembered idempotent IDs hold it open. See Seat lifecycle and crash safety.

News row

A row left when a queue range is filed, removed, closed, or purged. Dispatchers read news rows each pass instead of a shard's whole index. See Dispatch and windows.

Purge point

The position a purge emptied a range to. No seat delivers a message before it. See Seat lifecycle and crash safety.

Quiet pass and noisy pass

The two passes over a range sealed to isolate a noisy key. The quiet pass delivers every message except the noisy key's, to the range's end. The noisy pass then delivers the noisy key's messages alone, from where the quiet pass began, after which the range is drained.

Read-ahead

The records a seat holds for messages it is about to deliver, up to 1 MiB. See Read-ahead and fetch.

Ready window

The window entries of the messages a seat has read and not yet settled. A seat at its bound stops reading. See Dispatch and windows.

Record fetch

One batched read of a seat's range for its read-ahead, joined into ranged reads of up to 256 records or 1 MiB each. See Read-ahead and fetch.

Release (of a queue range)

A seat's last save as it ends in order. It marks the range's state row released, deals nothing more, and lets the next seat take the range over without waiting. A seat that finds the row held, unreleased, by a live node's seat waits for it, for at most a grace period.

Seat (of a queue range)

One node's delivery of one queue range: it reads from the ack frontier, keeps the ready window, deals claims, and saves the frontier. See Dispatch and windows.

Window budget

A node's bound on the memory all its seats hold: 512 MiB by default. See Node bounds.

Window entry

What a ready window keeps for one message: its position and the fields it is delivered by. It never holds the body. See Dispatch and windows.

Window share

A seat's equal part of the window budget, less the fetch pool. A seat may hold more while the node has room. See Dispatch and windows.

Benchmarking

Workload

The requests novabench generates: stream count, record size, concurrency, and arrival rate. See Benchmarking.

On this page

NodesConstellationCookieFounding peerMetadata peerNode IDStandalone modeCluster modeClient listenerFleet listenerFleet credentialStarStarIDZoneThe write pathAdmission budgetBacklog / Backlog budgetBlocking setBucket setCheckpointCopy quorum (W)Copy setCoreCutEpochEpoch fencingFacadeHard lineHeap watermarkIngress budgetFlightFlusherLast resortLedgerLogletMint gracePayload consumptionPoison slotPoolRepairRetention weightRollSlotSlot envelopeSlot layoutStrategyWALWriter incarnationIndexing and recoveryAbsorbAbsorb watermarkIndexedIndexerLedger recoveryRecovery claimSegmentSegment metaStorageBatch markerBundleCatalog rowChunkDirectoryFooterRefRevisionSpan refStorage classStored recordStream objectTransit bundleBackground workAge capDelete budgetDenormDenorm frontierDue-queueEraFetch cacheLingerPin capProbePurge gateRead budgetReap-checkReclaimRetainedRewriteStar reclaimTransit windowTrim-checkWatcherMetadataDispatch keyspaceEmbedded oxiaExternal oxiaDetached starLocalityMetadata backupMetadata storeOxia moveQueues keyspaceRegistry keyspaceSessions keyspaceStreams keyspaceLeadership and readsAuthorityClean releaseCluster clientFleetFooter cacheHandoffIdleLast writerLeadershipLimboNode stats recordOrphaned leaseRange mapRead planRebalanceRelease flushRouter tokenSaturationShedSliceStorage pressureStrandedTail windowTailSourceTenure-held configurationVacantVendingWakeWire adapterWriter leaseObject cacheCache-routed readObject cacheCluster and operationsAdmin bridgeAdmin readerControllerCorpseDecommissionDrainHeldLadderOperatorRosterRungSeatStar summaryWitnessQueuesAck frontierAttended queueCourierDealerDealt rangeDrainedDue keyFetch poolFireIdle seatNews rowPurge pointQuiet pass and noisy passRead-aheadReady windowRecord fetchRelease (of a queue range)Seat (of a queue range)Window budgetWindow entryWindow shareBenchmarkingWorkload