Troubleshooting

Quartz Line was written for the case where a full cluster is more operational surface than the workload deserves. The process reloads its config on SIGHUP without dropping connections.

Recovery

The API is versioned in the path. A minor release never removes a field, and a major release is announced two versions ahead. A single binary and a config file are the whole deployment; there is no agent and no sidecar.

$ cachectl serve --config /etc/cachectl/cachectl.toml
$ cachectl repository create orders --retention 72h
$ cachectl status
  uptime      4d 11h
  repositorys   20
  throughput  63k requests/s

What to watch

Backpressure is explicit: when the content addresser falls behind, Quartz Line returns 429 rather than buffering without bound. Retention is enforced on read as well as on the background pass, so an expired artifact never becomes visible again after a restart. Metrics are exposed in Prometheus text format on the admin port, which is separate from the data port on purpose.

{
  "repository": "orders",
  "sequence": 657287,
  "blobs": 3,
  "lag_ms": 35,
  "status": "ok"
}

Behaviour under load

Quartz Line was written for the case where a full cluster is more operational surface than the workload deserves. Each repository maps to an independent blob, which is what lets recovery happen in parallel after a restart. Ordering is guaranteed within a repository and explicitly not guaranteed across them. Everything the admin API exposes is also reachable through `cachectl`, so the same operation is scriptable either way.

[server]
listen = "0.0.0.0:8443"
admin  = "127.0.0.1:9090"
data_dir = "/var/lib/cachectl"

[limits]
max_batch      = 256
max_artifact_bytes = 128_000
flush_interval = "100ms"

[retention]
default = "168h"
compact_at = 0.6