HomeInfrastructure & Architecture › Replication

Replication

Purpose: How content moves author → publish: agents, queues, and the developer-visible behaviours.

Who this page is for

AudienceWhy it matters to you
All engineersPublish problems are replication problems half the time

Mechanics

Each publish instance has a replication agent on author (/etc/replication/agents.author). Activating a page serialises the content and queues it per agent; delivery is HTTP to the publisher's receiver servlet. A separate flush agent (usually on publish) tells the dispatcher to invalidate.

Activate page ──▶ agent queue (publish1) ──▶ publish1 repo ──▶ flush agent ──▶ dispatcher1 .stat
             └──▶ agent queue (publish2) ──▶ publish2 repo ──▶ flush agent ──▶ dispatcher2 .stat

Properties of the system

PropertyConsequence for you
Per-agent queues, independentOne publisher can lag/fail while others are current
Ordered within a queueBulk activations process serially — tree activations take time
At-least-once delivery, retry on failureA blocked queue halts ALL content updates to that publisher
Content only (plus users/config if configured)Code never replicates — deploys handle code

What activates what

Developer/debug notes

Quick navigation