Skip to content

In development. Expect rough edges and changes. The source code is not public yet.

10 posts RSS

2026

2025

Engineering stories behind the Medium Daily Digest Algorithm: Part 4

Case study 8 min +80 XP

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.

Medium Engineering

Engineering stories behind the Medium Daily Digest Algorithm: Part 2

Case study 17 min +170 XP

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.

2024

Challenges of mixed SwiftUI and UIKit codebases in iOS Apps

Case study 4 min +40 XP

Mixing SwiftUI into Medium's 2013-era UIKit iOS app brings recurring friction: sizing SwiftUI views hosted in UIHostingController as table/collection cells, mismatched scroll APIs (offset sign differs), and duplicated components like PostPreview implemented in both frameworks.

2021

How we build SwiftUI features in the Medium application

Case study 9 min +90 XP

Medium's iOS team builds new iOS 13+ features in SwiftUI and Combine by splitting a monolithic, partly Objective-C codebase into Swift packages: ApolloModel for generated GraphQL models, SharedUI components, per-feature UI packages, and planned LiveService/FakeService packages.

The quest for software engineering knowledge.

Look:
Layout: