Skip to main content

Module profile

Module profile 

Source
Expand description

Deployment profiles. Deployment profiles for LaminarDB.

A Profile determines which subsystems are activated at startup. Profiles form a hierarchy: each tier includes all capabilities of the tiers below it.

BareMetal ⊂ Embedded ⊂ Durable ⊂ Delta

§Usage

use laminar_db::{LaminarDB, Profile};

let db = LaminarDB::builder()
    .profile(Profile::Durable)
    .object_store_url("s3://my-bucket/checkpoints")
    .build()
    .await?;

Enums§

Profile
Deployment profile — determines which subsystems are activated.
ProfileError
Errors from profile validation.