Design Real-Time Card Transaction Alerts

Last updated: November 29, 2026

Quick Overview

Design the pipeline that sends a SoFi member a push notification within seconds of a card authorization, decline or large purchase, with per-member preferences, deduplication, and graceful degradation when push providers are slow.

SoFi
System Design
Software Engineer
SoFi
November 29, 2026
Software Engineer
System Design Round
System Design
Medium

0

0

0 solved


Design the pipeline that sends a SoFi member a push notification within seconds of a card authorization, decline or large purchase, with per-member preferences, deduplication, and graceful degradation when push providers are slow.

Instant card alerts are a core trust and fraud-detection feature in SoFi's money app, and the events originate from card authorization traffic processed on Galileo. The interviewer checks event-driven design, latency budgets, preference filtering, idempotent delivery, and how to keep the authorization path isolated from notification failures.

What the Interviewer Expects
  • Decouples alerts from the authorization path via an event stream
  • Applies member preferences and thresholds before fan-out
  • Deduplicates by authorization id so retries do not double notify
  • Defines a latency budget and per-channel fallbacks (push, SMS, in-app inbox)
  • Handles provider outages with retries, backoff and dead-letter queues
Key Topics to Cover
event-driven architecture
notifications
Kafka
deduplication
latency budgets
How to Approach This
  1. Start by clarifying functional and non-functional requirements with the interviewer.
  2. Estimate the scale: QPS, storage, bandwidth. This drives your design decisions.
  3. Draw a high-level architecture first, then deep dive into 1-2 critical components.
  4. Discuss trade-offs explicitly (e.g., consistency vs availability, SQL vs NoSQL).
  5. Address failure scenarios, monitoring, and how the system handles 10x traffic spikes.
Possible Follow-up Questions
  • How do you avoid sending both an authorization alert and a settlement alert for the same purchase?
  • How would you prioritize fraud alerts over marketing notifications under load?
  • How would you measure end-to-end alert latency?
Sharpen Your Skills on Codemia

Practice similar problems with our interactive workspace, get AI feedback, and track your progress.

Practice System Design Problems
Sample Answer
Requirements

Functional: alerts on approved authorizations above a member threshold, all declines, card-not-present use, and international use; per-member channel and threshold settings; an in-app activity list. N...

High-Level Design

The authorization service writes the decision, then publishes an auth_event to Kafka through an outbox, keyed by card id. An Alert Rules consumer loads member preferences from a cache (Redis, backed...


Submit Your Answer
Markdown supported

Related Questions