Skip to content

criccomini/sleet

Repository files navigation

Sleet

Sleet is a lightweight fleet manager for SlateDB databases. It coordinates nodes through object storage, assigns per-database services, and runs SlateDB maintenance work such as garbage collection, distributed compaction, and mirroring.

Quick start

Register a SlateDB database:

sleet register s3://path/to/sleet/state s3://app-data/db1

Start a node:

sleet run s3://path/to/sleet/state --node-id sleet-1

Check fleet status:

sleet status s3://path/to/sleet/state

By default, nodes offer all services:

gc,compactor-coordinator,compaction-workers,mirror

You can run specialized nodes with --services:

sleet run s3://path/to/sleet/state \
  --node-id worker-1 \
  --services compaction-workers

Documentation

See the following directories for more information:

  • docs: Sleet documentation.
  • examples: Example configuration files.
  • rfcs: Sleet design documents.
  • schemas: CLI, configuration, and heartbeat file JSON schemas.

License

MIT

About

A fleet manager for SlateDB: stateless GC, compaction, and mirroring across database fleets. No etcd, ZooKeeper, or leader election needed.

Topics

Resources

License

Stars

12 stars

Watchers

0 watching

Forks

Releases

No releases published

Contributors

Languages