Skip to main content

Module service

Module service 

Source
Expand description

Core storage service and configuration.

StorageService is the main entry point for storing and retrieving objects. Each operation runs in a separate tokio task for panic isolation.

Callers supply an access timestamp, normally the HTTP request start time. It stays fixed across admission, backend calls, and TTI calculations. Initial creation and expiry are already resolved in the supplied metadata. Background renewals retain the read-derived deadline but check liveness at worker start.

See the crate-level documentation for full architecture details.

Structs§

StorageService
Asynchronous storage service wrapping a single Backend.

Constants§

DEFAULT_BACKGROUND_QUEUE_LIMIT
Default number of TTI renewals that may wait for background processing.
DEFAULT_CONCURRENCY_LIMIT
Default concurrency limit for StorageService.

Type Aliases§

DeleteResponse
Service response for StorageService::delete_object.
GetResponse
Service response for StorageService::get_object.
InsertResponse
Service response for StorageService::insert_object.
MetadataResponse
Service response for StorageService::get_metadata.