Skip to content

Commit 278844c

Browse files
fixup! How synchronized / up to date is channel history betweendatacenters / regions?
1 parent 755829e commit 278844c

File tree

1 file changed

+15
-8
lines changed

1 file changed

+15
-8
lines changed

src/pages/docs/storage-history/history.mdx

Lines changed: 15 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -800,6 +800,8 @@ Channel history is synchronized across all datacenters within approximately 100
800800

801801
### Synchronization process
802802

803+
When a message is published, it moves through a multi-stage synchronization process.
804+
803805
When a message is published:
804806

805807
1. The message is immediately available in ephemeral storage (Redis) at the publishing datacenter.
@@ -808,20 +810,25 @@ When a message is published:
808810

809811
### Storage consistency
810812

811-
Storage consistency levels:
813+
Different storage types have different consistency guarantees.
814+
815+
The following table explains storage consistency levels:
812816

813817
| Storage type | Synchronization time | Consistency level |
814818
|-------------|---------------------|------------------|
815-
| Ephemeral storage. | Immediate at publishing datacenter. | Eventually consistent globally. |
816-
| Persistent storage. | ~100ms across all datacenters. | Strong consistency via quorum. |
817-
| Message survivability. | 99.999999% after acknowledgment. | Replicated to 3+ regions. |
819+
| Ephemeral storage | Immediate at publishing datacenter | Eventually consistent globally |
820+
| Persistent storage | ~100ms across all datacenters | Strong consistency via quorum |
821+
| Message survivability | 99.999999% after acknowledgment | Replicated to 3+ regions |
818822

819823
### Implications for applications
820824

821-
- History requests may show slight delays (up to 100ms) for messages published in remote datacenters.
822-
- Connection recovery works reliably regardless of datacenter failover.
823-
- Message continuity is preserved even during regional failures.
824-
- Applications should not depend on instant global history consistency for real-time features.
825+
Understanding these synchronization characteristics helps you design robust applications.
826+
827+
* History requests may show slight delays (up to 100ms) for messages published in remote datacenters.
828+
* Connection recovery works reliably regardless of datacenter failover.
829+
* Message continuity is preserved even during regional failures.
830+
* Applications should not depend on instant global history consistency for real-time features.
831+
825832

826833
## Ordering of historical messages <a id="historical-order"/>
827834

0 commit comments

Comments
 (0)