Skip to main content

Module backend

Module backend 

Source
Expand description

Object storage backend wrapping the object_store crate.

Provides a ObjectStoreBackend that implements StorageBackend for cloud object storage (S3, GCS, Azure Blob Storage) with an optional local disk cache for frequently accessed segments.

§URL Scheme

The backend is configured via URL:

  • s3://bucket/prefix — Amazon S3 (or S3-compatible)
  • gs://bucket/prefix — Google Cloud Storage
  • az://container/prefix — Azure Blob Storage
  • file:///tmp/data or /tmp/data — Local filesystem (for testing)

Structs§

BackoffConfig
Configurable backoff strategy for object store retries.
ObjectStoreBackend
Object storage backend with optional local caching.
ObjectStoreConfig
Configuration for the object store backend.