TinyStore
Engines / Guides

Engines / Guides

Guides

The Guides cover TinyStore one engine at a time, for when you know what you need: how keys expire, how a job retries, how a search filters. Each engine has an overview, then a page per feature, every example in TypeScript, Python, Go and Rust. The Handbook explains the same engines as parts of one application, and why they work as they do.

EngineForIn the Handbook
SQLyour own SQLite databases: migrations, queries, transactionsMessages
KVvalues with expiry and versions; counters, rate limits, quotas, onceSessions and limits
Jobswork later or on a schedule, retried, with stepsReplies in the background
Blobsfiles by path, written whole, checked when readAttachments
Searchwords in any language, typos, vectors, filtersFinding old messages
Channelsmessages to whoever listens nowLive updates
Locksone holder of a key at a time, with fencesLive updates
Configsettings from files and the environment, some changed liveSettings
Recordslogs and events, kept and read backWhat it is doing
Metricscounters, gauges, timers and histograms, read exactlyHow fast it is
Backupthe whole store as one checked zip, taken while it runsKeeping it

The command line has a guide of its own: serving a store, reading it while it runs, backups and nodes.

Every engine opens from the store, which Your first store opens in each language. A program reaches the store in its own process, through a sidecar, a private child or a server on another machine: Connecting compares the four.

Edit this page on GitHub Updated 19 October 2026

esc
↑↓ navigate ↵ open ⇥ filter 0 results