Expand description
Garnet/Redis Index Backend for Drasi
This crate provides a distributed storage backend for Drasi queries using Redis/Garnet.
§Usage
ⓘ
use drasi_index_garnet::GarnetIndexProvider;
use drasi_lib::DrasiLib;
use std::sync::Arc;
let provider = GarnetIndexProvider::new("redis://localhost:6379", None, true);
let drasi = DrasiLib::builder()
.with_index_provider(Arc::new(provider))
.build()?;Modules§
Structs§
- Garnet
Index Provider - Garnet/Redis index backend provider.
- Garnet
Session Control SessionControlimplementation backed byGarnetSessionState.- Garnet
Session State - Shared session state for Garnet session-scoped transactions.