Skip to content

Commit cdb6a6e

Browse files
committed
readme update for subscription updates
1 parent 6df4f88 commit cdb6a6e

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

.versions

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ reactive-var@1.0.13
4646
reload@1.3.2
4747
retry@1.1.1
4848
routepolicy@1.1.2
49-
skysignal:agent@1.0.25
49+
skysignal:agent@1.0.26
5050
socket-stream-client@0.6.1
5151
tracker@1.3.4
5252
typescript@5.9.3

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -801,7 +801,7 @@ Main agent singleton instance.
801801

802802
### v1.0.27 (Subscription Write Reduction)
803803

804-
- **Delta-based subscription reporting** - `DDPCollector._sendSubscriptionUpdates()` previously sent the entire subscription Map as a full snapshot every 30-second cycle. For apps with many stable `ready` subscriptions, this generated thousands of redundant server-side upserts per minute, each touching 8+ indexes. The collector now computes a lightweight hash of each subscription's mutable fields (`status`, `documentsAdded`, `documentsChanged`, `documentsRemoved`, `dataTransferred`, `readyAt`, `stoppedAt`, `errorMessage`) and only includes subscriptions whose hash differs from the last reported value. A full snapshot is forced every 10 cycles (~5 minutes at the default 30s interval) so the server self-heals if a delta HTTP request is lost.
804+
- **Delta-based subscription reporting** - `DDPCollector._sendSubscriptionUpdates()` previously sent the entire subscription Map as a full snapshot every 30-second cycle. For apps with many stable `ready` subscriptions, this generated thousands of redundant updates per minute. The collector now computes a lightweight hash of each subscription's mutable fields (`status`, `documentsAdded`, `documentsChanged`, `documentsRemoved`, `dataTransferred`, `readyAt`, `stoppedAt`, `errorMessage`) and only includes subscriptions whose hash differs from the last reported value. A full snapshot is forced every 10 cycles (~5 minutes at the default 30s interval) so the server self-heals if a delta HTTP request is lost.
805805

806806
### v1.0.26 (Configurable Observer Limit)
807807

0 commit comments

Comments
 (0)