Expand description
Content-hash module loading and hot deployment for routing functions.
Status (2026-06): this is an in-memory HashMap keyed by content hash, not a
beamr module registry. Module bytecode is only hashed for dedup; it is never
executed — routing logic is supplied as a native Rust closure. Modules are
content-addressed: loading the same bytecode twice reuses the already-loaded
module, and hot deployment atomically swaps the active function while
in-flight executions keep their own reference to the previous version until
they complete.
Structs§
- Content
Hash - Content hash identifying a routing function module.
- Module
Loader - Loads routing modules by content hash, deduplicating identical bytecode.
- Routing
Function - An executable routing function referencing a loaded module.
- Routing
Module - A routing module submitted for loading.
- Routing
Slot - Holds the active routing function for a channel and supports hot deployment.