Liking cljdoc? Tell your friends :D

lb.cluster.gossip

Gossip protocol implementation for state synchronization.

Uses UDP for small messages (<1KB) and TCP for larger payloads. Implements push-pull anti-entropy for eventual consistency.

Gossip protocol implementation for state synchronization.

Uses UDP for small messages (<1KB) and TCP for larger payloads.
Implements push-pull anti-entropy for eventual consistency.
raw docstring

apply-remote-states!clj

(apply-remote-states! states)

Apply received remote states to appropriate providers.

Apply received remote states to appropriate providers.
sourceraw docstring

broadcast-message!clj

(broadcast-message! msg)

Broadcast a message to all alive peers.

Broadcast a message to all alive peers.
sourceraw docstring

broadcast-state-change!clj

(broadcast-state-change! state)

Immediately broadcast a state change to peers.

Immediately broadcast a state change to peers.
sourceraw docstring

broadcast-states!clj

(broadcast-states! states)

Broadcast multiple state changes to peers.

Broadcast multiple state changes to peers.
sourceraw docstring

configure!clj

(configure! new-config)

Update gossip configuration.

Update gossip configuration.
sourceraw docstring

default-configclj

Default gossip configuration.

Default gossip configuration.
sourceraw docstring

get-all-sync-statesclj

(get-all-sync-states)

Get all syncable states from all providers.

Get all syncable states from all providers.
sourceraw docstring

get-state-digestclj

(get-state-digest)

Get combined state digest from all providers.

Get combined state digest from all providers.
sourceraw docstring

get-state-providersclj

(get-state-providers)

Get all registered state providers.

Get all registered state providers.
sourceraw docstring

gossip-statsclj

(gossip-stats)

Get gossip statistics.

Get gossip statistics.
sourceraw docstring

gossip-to-random!clj

(gossip-to-random! msg)

Gossip a message to random subset of peers.

Gossip a message to random subset of peers.
sourceraw docstring

register-state-provider!clj

(register-state-provider! provider)

Register a state provider for synchronization.

Register a state provider for synchronization.
sourceraw docstring

running?clj

(running?)

Check if gossip transport is running.

Check if gossip transport is running.
sourceraw docstring

send-message!clj

(send-message! address msg)

Send a gossip message to a peer. Uses UDP for small messages, TCP for large.

Send a gossip message to a peer. Uses UDP for small messages, TCP for large.
sourceraw docstring

start!clj

(start!)

Start the gossip transport.

Start the gossip transport.
sourceraw docstring

stop!clj

(stop!)

Stop the gossip transport.

Stop the gossip transport.
sourceraw docstring

unregister-state-provider!clj

(unregister-state-provider! type)

Unregister a state provider.

Unregister a state provider.
sourceraw docstring

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
Move to previous article
Move to next article
Ctrl+/Jump to the search field
× close