Dataford
Interview QuestionsInterview GuidesExperiencesCoaching
New
Pricing
Get started
Dataford
Popular roles
Software EngineerData AnalystData ScientistData EngineerBusiness AnalystAI EngineerMachine Learning EngineerProduct Manager
Browse
Browse All RolesEvery role hub, from analyst to MLBrowse All CompaniesCompany-specific interview loopsAll Interview GuidesThe full guide library
Top questions by role
Software EngineerData AnalystData ScientistData EngineerBusiness AnalystAI EngineerMachine Learning EngineerProduct Manager
Top questions by skill
SQLPythonStatisticsMachine LearningA/B TestingSystem DesignGenerative AIProduct SenseMetricsBehavioral
Browse all questions →Try a mock interview
Experiences
Practice
Mock InterviewsTimed interview simulations with feedbackCoaching1:1 coaching with people at your target companiesSuccess PathYour 6-week structured planModulesCurated lessons by topicWebinarsTalks from ex-Big Tech data leadsPlaygroundA free-form scratch editor
Learn
BlogInterview strategy and career adviceTech Job Market ReportHiring trends across data and AI rolesFor UniversitiesDataford for career centersAbout DatafordWho we are and how we build
Pricing
Build my plan

Scale Email Event Ingestion Pipeline

HardPipelines00:00
Practice interviewer
In session
5 left
00:00

Your question is Scale Email Event Ingestion Pipeline. Take a moment with it on the right.

Talk me through your thinking if you like. When you're confident, submit your answer and I'll grade it like a real screen (7/10 or better passes).

You need to log in / sign up to chat or submit.

Problem

Scenario

You own the ingestion pipeline for a B2B SaaS security product that processes email security telemetry used by detection systems and customer-facing analytics. The current design works at steady state, but a new enterprise rollout is expected to increase inbound traffic by 10x over the next quarter. Recent incidents showed delayed downstream updates, duplicate records during retries, and inconsistent counts between raw and curated datasets. You need a minimalistic redesign that can absorb the traffic increase without introducing a large operational footprint.

Current State

ComponentStatus / Technology
Event SourcesEmail gateway webhooks, API collectors, internal app events
IngestionPython services writing directly to PostgreSQL
ProcessingCron-based Python ETL every 15 minutes
StoragePostgreSQL for raw and transformed data
OrchestrationBasic cron on Kubernetes
ServingDetection features and internal dashboards

Scale: 25K events/sec peak today, expected 250K events/sec peak after rollout; average payload 3-5 KB JSON; current freshness is 15-20 minutes; target is under 3 minutes for curated tables; 30-day hot retention and 1-year cold retention.

Question

How would you redesign this ingestion pipeline in the simplest production-ready way to handle 10x traffic while preserving data quality, replayability, and operational visibility? Walk through the architecture, scaling decisions, and the trade-offs you would make to keep the system intentionally minimal.