HUB
Sign inSign up
invar logo

hardpointlabs/invar

By hardpointlabs

•Updated 3 days ago

The Diskless Document Store

Image
Databases & storage
0

4.0K

hardpointlabs/invar repository overview

⁠Invar is a diskless, Redis-compatible document store.

Invar gives you Redis persistence without having to manage disks. Instead it uses object storage, meaning your cloud bill scales with what you store, not what you provision. It's explicitly designed for single-writer operation and to run at fleet-scale for instance-per-tenant scenarios. Have a read of this post for more context about Invar's evolution.

Check out the product docs⁠ for more information about using and operating Invar.

⁠Why Invar

  • Redis wire protocol compatibility: Works with your existing code. Compatibility is tested continuously against real-world libraries like BullMQ, as well as integration tests for the command spec. See the compatibility guide⁠ for the full command matrix
  • Diskless by design: Invar uses SlateDB under the hood. Data lives in S3. No replication issues, capacity planning, e.t.c
  • Defined transactional guarantees: Invar targets snapshot isolation, with merge support incubating
  • Single binary: One process, no cluster coordination
  • Real local dev experience: Can persist to disk for simplified local dev & CI, without an S3 service dependency
  • Apache 2.0: Committed to open source

⁠Quick Start

⁠Local FS

This boots up an instance persisting data to /tmp/invar:

docker run -v /tmp/invar:/tmp/invar -p 6379:6379 -it ghcr.io/hardpointlabs/invar:latest --backend fjall --path /tmp/invar --redis

⁠S3

Pass the usual AWS_... variables to configure Invar to run backed by object storage:

docker run -v /tmp/invar:/tmp/invar -e AWS_REGION=... -e AWS_ACCESS_KEY_ID=...\
  -e AWS_SECRET_ACCESS_KEY=... -p 6379:6379 -it ghcr.io/hardpointlabs/invar:latest \
  --backend slate --bucket <my-bucket-name> --redis

Tag summary

Content type

Image

Digest

sha256:2dccba38f…

Size

13.3 MB

Last updated

3 days ago

docker pull hardpointlabs/invar