Skip to main content

Module engine

Module engine 

Source
Expand description

The engine: coordinator for the sharded keyspace.

Routes single-key operations to the correct shard based on a hash of the key. Each shard is an independent tokio task — no locks on the hot path.

Structs§

Engine
The sharded engine. Owns handles to all shard tasks and routes requests by key hash.
EngineConfig
Configuration for the engine, passed down to each shard.