Design the Member Activity Event Pipeline to the Data Lake

Last updated: November 29, 2026

Quick Overview

Design the pipeline that captures tracking events (page views, clicks, impressions) from LinkedIn clients and services, validates them against schemas, makes them available to real-time consumers, and lands them in the data lake for hourly and daily analytics with exactly-once counts.

LinkedIn
System Design
Software Engineer
LinkedIn
November 29, 2026
Software Engineer
System Design Round
System Design
Hard

0

0

0 solved


Design the pipeline that captures tracking events (page views, clicks, impressions) from LinkedIn clients and services, validates them against schemas, makes them available to real-time consumers, and lands them in the data lake for hourly and daily analytics with exactly-once counts.

LinkedIn created Kafka for exactly this activity data problem, so the question tests whether you understand the end-to-end path from client to warehouse. Interviewers expect schema management, partitioning, duplicate handling, late data, and how batch and streaming consumers share one log.

What the Interviewer Expects
  • Designs client and server collection with batching and retries
  • Uses a schema registry and validation
  • Partitions and retains data in Kafka for multiple consumers
  • Explains duplicate handling for exactly-once results
  • Handles late and out-of-order events in hourly partitions
  • Discusses privacy deletion requirements
Key Topics to Cover
Kafka
schema registry
exactly-once
data lake
late data
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 evolve a schema without breaking downstream jobs?
  • How would you deliver a GDPR deletion request across the lake?
  • How do you detect that a client release broke a tracking event?
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: collect tracking events from web, mobile, and backend services; validate schema; real-time consumers (feed signals, abuse detection) read within seconds; hourly partitions in the lake ...

High-Level Design
  1. Clients batch events and send to tracking frontends (stateless HTTP) with an event id (UUID) and client timestamp.
  2. Frontends validate against Avro schemas from a schema registry, add ser...

Submit Your Answer
Markdown supported