Data Engineering · Workspace
Case studies
How real teams built their systems, and what broke along the way, each tied to the module that teaches its ideas. 12 case studies.
Case: Shopify’s CDC from a sharded monolithMost teams move to change data capture after an incremental load has quietly missed deletes or edits. Shopify’s account shows the full path at large scale, including the problems it hadn’t solved yet, so you can plan for them before your own pipeline goes live.Covers: DebeziumApache KafkaMySQL+2 more: Kafka Connect, Kafka StreamsChange data capture and replication
Case: LinkedIn’s push-based shuffle for SparkShuffle failures and slow shuffle reads are among the most common reasons a large Spark job misses its deadline. LinkedIn’s account shows where that pain comes from at petabyte scale, and which parts of the fix apply to a much smaller platform.Covers: Apache SparkPush-based shuffleYARN+1 more: KubernetesBatch processing with Spark
Case: PhonePe’s Kafka at 100 billion events a dayMost teams that run Kafka for long enough meet PhonePe’s problems in a smaller form: producers that can’t afford to lose events, readers that slow down writers, and no clear signal for when to add brokers. Knowing which fixes match which scale keeps a small platform from copying a large one.Covers: Apache KafkaMirrorMakerIngestion service+1 more: DebeziumEvent streaming with Kafka
Case: Razorpay’s fraud checks in 200 ms with FlinkFraud checks, credit decisions and abuse filters all need a verdict while a person waits, built from that person’s recent history. Razorpay’s design shows which parts of that problem a stream processor solves well, and which ones it moves somewhere else.Covers: Apache FlinkFlink CEPApache Kafka+1 more: RocksDBStream processing with Flink
Case: Grab’s data lake move to IcebergMoving a lake that many teams and engines already read is mostly about not breaking them, and about knowing where the speed and savings really come from. Grab’s account shows both, with the snags it hit on the way.Covers: Apache IcebergApache SparkHive+2 more: Trino, Z-orderingData lakes and lakehouses
Case: Uber’s data lake from batch to streamingMost lakes start as batch jobs, and sooner or later a team asks for fresher data. The move to streaming is well understood; the work is in the problems it brings: small files, uneven partitions and commits that must match the processor’s progress.Covers: Apache FlinkApache HudiApache Kafka+2 more: Parquet, Apache IcebergData lakes and lakehouses
Case: Zerodha’s back office on ClickHouseTeams often read a vendor or company post that says “1000× faster” and wonder whether to switch engines. This case shows what a large real move looked like, what produced the gains, and how to check whether your own data has the same shape.Covers: ClickHousePostgreSQLMergeTree+1 more: Columnar storageOLAP and real-time analytics
Case: Monzo’s 12,000 dbt models across 100 teamsOnce more than one team writes dbt models, a change in one team’s model can break another’s, and every team’s habits add to the warehouse bill. Monzo’s account shows one way to keep many teams in charge of their own models without letting the project drift.Covers: dbtModelgenCI checks+1 more: YAMLTransformations with dbt
Case: Uber’s data quality platformHand-written checks work for dozens of tables and fail at thousands, because no one writes or tunes them all. Uber’s account shows how to make standard checks the default, keep alerts few enough to trust, and measure whether the checks catch what matters.Covers: Data quality testsTiered SLAsDatabook+1 more: Incident ManagerData quality and observability
Case: Spotify’s deletion by deleting encryption keysFinding and rewriting every copy of one person’s data gets harder with every new table and job. Deleting a key instead moves the problem to one service, which then sits on the path of every read and write of personal data.Covers: PadlockCrypto-shreddingCassandra+2 more: HKDF, TokenizationGovernance, privacy and security
Case: Razorpay’s 21% cut to its Spark billMost Spark bills shrink through a handful of plain moves: cheaper capacity, fewer idle nodes and settings that fit the workload. Razorpay’s account shows those moves at petabyte scale, including the two that broke jobs before they saved money.Covers: Apache SparkAmazon EMRSpot Instances+2 more: Dynamic allocation, Delta LakeScale, performance and cost
Case: Flipkart’s data platform move to Google CloudSooner or later most data teams move a running platform: to a new cloud, a new engine or a new messaging system, usually with a business date that won’t move. Flipkart’s account shows the shape of such a move at 10 PB a day, and what you still have to work out yourself.Covers: Apache KafkaGoogle Pub/SubDataproc+2 more: Hive, HadoopScale, performance and cost