Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DistributedSignaler ¶ added in v0.5.0
type DistributedSignaler struct {
// contains filtered or unexported fields
}
DistributedSignaler recompiles the snapshot on the local admin process and fans the same nudge out to every other admin replica over the Redis event bus.
Version broadcast to data planes is in-process per admin pod: a write handled by replica A only reaches the data planes streaming from A. Publishing a SnapshotDirtyEvent makes replica B recompile and push to its own data planes immediately, instead of leaving them stale until B's periodic backstop fires.
func NewDistributedSignaler ¶ added in v0.5.0
func NewDistributedSignaler(local LocalSignaler, publisher cache.EventPublisher, logger *slog.Logger) *DistributedSignaler
func (*DistributedSignaler) Signal ¶ added in v0.5.0
func (s *DistributedSignaler) Signal(ctx context.Context)
type LocalSignaler ¶ added in v0.5.0
LocalSignaler triggers a recompile-and-broadcast on the current process.
Click to show internal directories.
Click to hide internal directories.