Module backend

Module backend 

Source
Expand description

Storage backend implementations.

This module contains the Backend trait and its implementations. Each backend adapts a specific storage system (BigTable, GCS, local filesystem, S3-compatible) to a uniform interface that StorageService consumes.

Two-tier routing is encapsulated in TieredStorage and can be configured via StorageConfig::Tiered.

Modules§

bigtable
BigTable backend for high-volume, low-latency storage of small objects.
changelog
Change lifecycle tracking and durable write-ahead log.
common
Shared trait definition and types for all backends.
gcs
Google Cloud Storage backend for long-term storage of large objects.
in_memory
In-memory backend for tests.
local_fs
Local filesystem backend for development and testing.
s3_compatible
S3-compatible backend with generic protocol support.
tiered
Two-tier storage backend with size-based routing and redirect tombstones.

Enums§

HighVolumeStorageConfig
Configuration for the high-volume backend in a tiered::TieredStorageConfig.
StorageConfig
Storage backend configuration.

Functions§

from_config
Constructs a type-erased Backend from the given StorageConfig.