Skip to main content

Module backplane

Module backplane 

Source
Expand description

The backplane: multi-node invalidation messaging.

In a multi-node deployment each node has its own L1. When one node changes a key, it publishes a small BackplaneMessage (never the value itself) so the other nodes can invalidate or expire their local L1 copy and re-pull the authoritative value from L2 on the next read.

The InProcessBackplane here is a faithful reference backed by a broadcast channel — perfect for tests and single-process multi-instance setups. A Redis pub/sub adapter is a feature-gated follow-up.

Structs§

BackplaneMessage
A backplane notification. Carries no value — only what changed and when.
InProcessBackplane
An in-process reference Backplane backed by a broadcast channel.

Enums§

BackplaneAction
The kind of change a backplane message announces.

Traits§

Backplane
A multi-node notification channel.