IOSOR Learn
Carrier DLR Duplicate Receipt Deduplication Audit
Audit DLR deduplication logic across routes to prevent double-counting deliveries and trigger partner comparison when duplicate rates exceed thresholds.
Lead Telecom & Routing Architect · Lausanne, CH
Operations teams must verify that every carrier DLR receipt is counted once across all routes, using message-id + timestamp + final-state tuples as the deduplication key. Duplicate rates above 0.5% signal logic gaps that inflate delivery metrics and distort partner performance comparisons.
Deduplication Key Design
Define the canonical key as message-id + carrier-timestamp + final-state (delivered/failed/expired). Reject any receipt where the tuple already exists in the deduplication store within a 24-hour sliding window. Log rejected duplicates with route-id, carrier-id, and webhook latency for root-cause analysis. Cap store entries at 10M per node; evict via LRU after TTL expiry. Verify key schema against Carrier DLR Sequence Gap and Reordering Audit before deployment.
Cross-Route Receipt Correlation
Correlate receipts from primary and fallback routes for the same message-id. If both routes emit a delivered receipt within 30 seconds, flag as potential double-count. Require exactly one final-state per message-id per corridor; escalate multi-final-state cases to partner comparison via /tools/brief. Handle out-of-order receipts by buffering for 5s before final-state commit; discard late arrivals beyond 60s.
Webhook Idempotency Verification
Confirm each carrier webhook endpoint processes retries idempotently. Simulate carrier retry storms (3–5 retries at 10s/30s/60s intervals) and assert deduplication store rejects all but the first. Measure webhook p99 latency; values above 800ms increase duplicate risk during burst traffic. Return HTTP 202 on duplicate receipts without reprocessing; dead-letter malformed payloads after 3 failed parses.
Duplicate Rate Thresholds & Alerting
Set alert thresholds: warn at 0.3% duplicate rate, page at 0.5%, auto-quarantine route at 1.0%. Calculate rate per 10k receipts per corridor per hour. Include sender-id and template-id dimensions to catch template-specific deduplication failures. Suppress alerts during maintenance windows; auto-resolve when rate drops below 0.2% for 15 minutes.
Reconciliation with Downstream Billing
Reconcile deduplicated DLR counts against billing events daily. Any variance above 0.1% triggers a forensic audit of the deduplication store TTL, clock skew between ingestion nodes, and carrier timestamp parsing. Document findings in the corridor runbook. Investigate NTP drift exceeding 500ms between nodes.
Start with IOSOR
Run the partner comparison for your channel and corridor at Compare Routes to verify which routes maintain clean deduplication under load. Use the operational checklist: 1) validate deduplication key schema, 2) simulate retry storms, 3) correlate cross-route receipts, 4) set threshold alerts, 5) reconcile daily with billing. See also: Carrier DLR Sequence Gap Reordering Audit, Carrier DLR Final State Reconciliation Audit, Carrier Multi-Route DLR Consistency Audit.
IOSOR takeaway
Define the canonical key as message-id + carrier-timestamp + final-state (delivered/failed/expired). Document findings in the corridor runbook (/tools/brief · DLR / webhook).
Was this guide helpful?
Related guides
- Inbox Placement Seed List Rotation: Audit and Partner Comparison
Audit seed-list rotation across ESPs and warmup tools for unbiased inbox-placement signals, then compare verified deliverability partners via /tools/brief.
- Verify GSM7 Extension Table Cost, SLA Enforcement Gate on Deliverability Routes
Operational gate to verify GSM7 extension table cost and SLA enforcement before raising SMS volume, then compare partner routes in /tools/brief for deliverability.
- Delivery Latency SLA Verification: Handoff Gate for Route Selection
Verify each candidate route's claimed delivery-latency SLA at the handoff boundary before comparing partners in Decision Brief and committing SMS volume.












