Introduction

Introduction

Nova is a self-hosted store for ordered, durable streams of records on object storage, with queues built on them.

Nova stores streams: ordered sequences of records that you append to and read from any position, or follow live as new records arrive. Each stream has an address such as nova://my-app/orders, and lives in object storage.

The Use Nova tab is for developers learning Nova: what it stores, how it behaves, and how to design an application with it.

Why streams on object storage

Object storage made files cheap, durable, and unlimited. But you cannot append to an object: you write it once, whole. A message broker lets you append and subscribe, but each topic costs disks and planning, so you create a few and share them.

Nova combines the two. You append to a stream and subscribe to it as with a broker, and you pay object storage prices for it. Each stream is named by a key inside a bucket. Object storage holds it, so it is durable, and it keeps as much history as you choose. A stream costs little to create, so you can give each tenant, device, conversation, or job a stream of its own.

A stream keeps its records in the order you appended them. Nova acknowledges an append only after object storage has stored it, and every read that starts afterwards sees it. Writers can append on a condition, or fence each other out. A scalable stream spreads its writes over many nodes and keeps the order of each key. A queue gives each of its messages to one worker at a time.

You run Nova yourself, as a cluster of novad nodes in front of S3-compatible object storage. They also need a metadata store, which the nodes run themselves by default. You use it from the Go or TypeScript SDK, the HTTP and gRPC API, or the nova CLI.

Get started

The documentation

Each tab in the top bar is written for one reader.

The glossary defines the words these pages use.

On this page