---
library: "bootstrap"
slug: "EbbFlowSync"
name: "EbbFlowSync"
ref: "EbbFlowSync#c68e"
hash: "sema:EbbFlowSync#mh:SHA-256:c68ee6aee66d266b40bf18152658a65d26e210aac458011629d39b131f3461f7"
type: "Protocols"
layer: "Society"
version: "0.11.0"
root: "a6a3d1ff0f982ee30430c5b42f3784c8ec901fd68482cfc1bc30899c1e5e48c5"
license: null
url: "https://semahash.org/vocabularies/bootstrap/patterns/EbbFlowSync"
---

# EbbFlowSync

Cyclical connectivity modes

Society · Protocols

## Mechanism

[System](https://semahash.org/vocabularies/bootstrap/patterns/System.md) oscillates between High Tide (synchronous, high-bandwidth, global lock) and Low Tide (asynchronous, disconnected, local-only). Agents strictly enforce this rhythm, allowing for massive scaling during Low Tide and reconciliation during High Tide. It employs [Hysteresis](https://semahash.org/vocabularies/bootstrap/patterns/Hysteresis.md) to dampen the transition between connected (Flow) and disconnected (Ebb) states.

## Invariants

- Phase [Lock](https://semahash.org/vocabularies/bootstrap/patterns/Lock.md): All agents must be in same phase (Ebb or Flow) at time T
- Tide [Transition](https://semahash.org/vocabularies/bootstrap/patterns/Transition.md): Flow cannot start until Ebb reconciliation is complete

## Parameters

- high_watermark: type=Float, range=[0.5, 0.95], description=Threshold to trigger ebb
- low_watermark: type=Float, range=[0.1, 0.5], description=Threshold to allow flow
- measurement_window: type=Duration, range=[1s, 1min], description=Averaging period

## Preconditions

- [Global](https://semahash.org/vocabularies/bootstrap/patterns/Global.md) clock synchronization < Delta

## Postconditions

- [State](https://semahash.org/vocabularies/bootstrap/patterns/State.md) is consistent up to last High Tide

## Failure modes

- Clock drift causes agents to miss the High Tide window.

## Where this came from

—

## Builds on

- [Global](https://semahash.org/vocabularies/bootstrap/patterns/Global.md) (references)
- [Transition](https://semahash.org/vocabularies/bootstrap/patterns/Transition.md) (references)
- [State](https://semahash.org/vocabularies/bootstrap/patterns/State.md) (references)
- [System](https://semahash.org/vocabularies/bootstrap/patterns/System.md) (references)
- [Lock](https://semahash.org/vocabularies/bootstrap/patterns/Lock.md) (references)
- [Hysteresis](https://semahash.org/vocabularies/bootstrap/patterns/Hysteresis.md) (references)

## Identity

- Library: bootstrap 0.11.0 (root a6a3d1ff0f98)
- Ref: EbbFlowSync#c68e
- Hash: sema:EbbFlowSync#mh:SHA-256:c68ee6aee66d266b40bf18152658a65d26e210aac458011629d39b131f3461f7

## Links

- Page: https://semahash.org/vocabularies/bootstrap/patterns/EbbFlowSync
- JSON: https://semahash.org/vocabularies/bootstrap/patterns/EbbFlowSync.json
- Library: https://semahash.org/vocabularies/bootstrap
- Library index: https://semahash.org/vocabularies/bootstrap/index.json
