---
title: "Engineering stories behind the Medium Daily Digest Algorithm: Part 4"
description: "Medium fixed repetitive Daily Digest recommendations for power users by tracking which digest emails had at least one clicked story (\"definitely opened\", since Apple Mail Privacy Protection makes open tracking unreliable) and filtering out posts already sent in such digests."
url: "https://swe.quest/articles/engineering-stories-behind-the-medium-daily-digest-algorithm-part-4-ad90430cb239c852"
canonical: "https://medium.engineering/engineering-stories-behind-the-medium-daily-digest-algorithm-part-4-ec7136f21acd"
source: "Medium Engineering"
published: "2025-09-03"
difficulty: "medium"
kind: "Case study"
reading_minutes: 8
tags: ["recommendation-systems","communications"]
---

# Engineering stories behind the Medium Daily Digest Algorithm: Part 4

A post on [Medium Engineering](https://swe.quest/sources/medium-eng.md), published 2025-09-03, 8 min read, Case study. Original: [https://medium.engineering/engineering-stories-behind-the-medium-daily-digest-algorithm-part-4-ec7136f21acd](https://medium.engineering/engineering-stories-behind-the-medium-daily-digest-algorithm-part-4-ec7136f21acd)

## Summary

Medium fixed repetitive Daily Digest recommendations for power users by tracking which digest emails had at least one clicked story ("definitely opened", since Apple Mail Privacy Protection makes open tracking unreliable) and filtering out posts already sent in such digests. Offline simulation of thresholds showed a threshold of 1 removed about 4.6 of 15 stories for complaining users but under 0.2 for free users and about 1.4 for members. An A/B test showed a statistically significant increase in reading time, larger for members. Possible next steps are converting the hard filter to a soft filter and accounting for story position in the email.

Written by swe.quest, not by the author.

**Difficulty:** Medium: assumes a working developer; shows how it is built or done

## Topics

- [Recommendations & ranking](https://swe.quest/tags/recommendation-systems.md) (AI & ML)
- [Communications](https://swe.quest/tags/communications.md) (Domains)

## Prerequisites

- recommendation pipelines (source, filter, rank)
- A/B testing ([easy posts on Testing](https://swe.quest/tags/testing.md?difficulty=easy))

## Keywords

Medium Daily Digest, Apple Mail Privacy Protection

## Related posts

- [Engineering stories behind the Medium Daily Digest Algorithm: Part 2](https://swe.quest/articles/engineering-stories-behind-the-medium-daily-digest-algorithm-part-2-d64641974e16e6ff.md): Medium Engineering · 2025-08-28 · Medium · 17 min read · Recommendations & ranking, Data structures, Cost optimization, Databases
  Medium replaced the Bloom filters behind its recommendation filters (muted writers, already-read, presented 3+ times) with per-user DynamoDB queries against the source-of-truth tables, cutting filtering cost roughly 10x and simplifying maintenance.
- [A New Ranking Framework for Better Notification Quality on Instagram](https://swe.quest/articles/a-new-ranking-framework-for-better-notification-quality-on-instagram-dc3c55fb5c8ff08d.md): Meta Engineering · 2025-09-02 · Medium · 5 min read · Recommendations & ranking, Communications, Machine learning
  Instagram adds a diversity layer on top of its engagement-optimized notification ranking models to stop over-sending notifications about the same author or product surface such as Stories.
- [Improving Instagram notification management with machine learning and causal inference](https://swe.quest/articles/improving-instagram-notification-management-with-machine-learning-and-causal-112508fbe79ae4ec.md): Meta Engineering · 2022-10-31 · Medium · 5 min read · Machine learning, Communications, Recommendations & ranking
  Instagram replaced click-through-rate filtering for daily digest story notifications with a neural uplift model that estimates the incremental effect of sending versus not sending on user activity.
- [Building Smarter Search Products: 3 Steps for Evaluating Search Algorithms](https://swe.quest/articles/building-smarter-search-products-3-steps-for-evaluating-search-algorithms-f267f58da4febc3b.md): Shopify Engineering · 2021-04-01 · Medium · 12 min read · Search, Evaluation, Data pipelines, Queues & messaging
  Shopify's Help Center search team evaluates new ranking algorithms in three steps: collect ground truth from Kafka interaction events and expert-annotated relevance ratings, score variants offline with MAP and NDCG over thousands of historical queries, then run online A/B tests on metrics like click-through rate, average clicked rank, abandonment and support deflection.
- [Measuring the back/forward cache with Application Metrics](https://swe.quest/articles/measuring-the-back-forward-cache-with-application-metrics-3b96d5be7b308071.md): Sentry · 2026-09-24 · Medium · 5 min read · Web performance, Browsers, Observability, JavaScript
  Sentry's new opt-in bfcacheMetricsIntegration (JavaScript SDK v11) turns the browser's back/forward cache decisions into application metrics, closing a blind spot where cache hits leave no page-load telemetry.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
