Referral Tracking Low-Level Design: Attribution, Fraud Detection, and Reward Issuance
A referral tracking system attributes new user signups to the existing user who referred them, enabling reward programs and measuring […]
A referral tracking system attributes new user signups to the existing user who referred them, enabling reward programs and measuring […]
A poll system lets users create questions with multiple choice answers, vote on them, and see real-time results. Used in
A bookmark (save) system lets users collect and organize content they want to revisit — articles, products, listings, posts. Core
A content tagging system lets users and systems attach descriptive labels to content — blog posts, products, images, videos —
A content reporting and abuse detection system allows users to flag harmful content — spam, harassment, hate speech, illegal material
An idempotency key service ensures that retried API requests do not cause duplicate side effects — a critical requirement for
Multi-factor authentication (MFA) adds a second verification layer beyond passwords — protecting accounts even when passwords are compromised. The three
A data archival system moves aged, infrequently accessed data from hot storage (fast, expensive) to warm or cold tiers (slower,
Cache warming ensures a cache is pre-populated with frequently accessed data before users experience cache misses. Without warming, a fresh
A trending topics system surfaces content gaining rapid engagement — the top hashtags on Twitter, trending searches on Google, or
A follower graph stores directed relationships between users — Alice follows Bob, but Bob may not follow Alice. It powers
An order tracking system maintains the lifecycle of a purchase from placement through delivery, providing real-time status to customers and
A shopping cart and checkout system manages the in-progress purchase state from item addition through payment completion. Core challenges: persisting
A payment processing pipeline accepts customer payment details, communicates with a payment processor (Stripe, Braintree, Adyen), and reliably records the
A user presence system tracks whether users are online, offline, or idle — powering the green dots in Slack, WhatsApp,