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

Design Offline Sync Event Pipeline

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

Your question is Design Offline Sync Event 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 are designing the synchronization pipeline for a mobile marketplace where drivers and customers can create or update entities while offline, then reconnect hours later on unstable networks. Recent incidents showed duplicated actions, out-of-order updates, and mismatches between what the mobile app displays and what backend systems persist. Product and operations teams now want a resilient sync design that supports eventual consistency, conflict handling, auditability, and near-real-time downstream visibility for operational dashboards. The pipeline must preserve user intent while preventing duplicate writes when the client retries aggressively after reconnect.

Current State

ComponentStatus / Technology
Mobile event captureiOS/Android app with local SQLite queue
API layerSync REST endpoints behind API gateway
Operational storePostgreSQL primary with read replicas
Async messagingApache Kafka used for backend domain events
Analytics pipelineAirflow batch jobs loading warehouse tables hourly
MonitoringBasic API latency and DB CPU dashboards

Scale: 12M monthly active devices, 1.8M daily active devices, peak reconnect bursts of 45K requests/sec after network recovery, up to 150 queued mutations/device, payloads 1-8 KB, operational state visible within 2 seconds and warehouse freshness under 10 minutes.

Question

How would you design the end-to-end data synchronization pipeline so offline mobile mutations can be replayed safely, ordered correctly where needed, reconciled on conflict, and propagated to both operational systems and downstream analytical stores without double-processing?