Mobile software developer's data warehouse: 98.8% savings in computing resources

The client's warehouse could no longer pull in a day's data within the day, so we moved the ETL to Airflow and the heaviest sources to Redshift Spectrum

Data warehouse development

App Store featured feed shown on a smartphone

Who we worked with

A global mobile software developer with a warehouse falling behind

Our client is a global mobile software developer, and its data warehouse is fed by AppsFlyer, adjust, Amplitude and Google Analytics.

Writing software is its business, and it still brought in subject-matter experts for the warehouse.

Client under NDA

What we did

How we untangled the warehouse

Falling further behind every day

Storage had grown cluttered, and database errors kept interrupting work. Every day brought new data into a system that hadn't finished with the day before, so the backlog only grew.

ETL moved from Python scripts to Airflow

We started with an assessment, then moved every ETL pipeline from plain Python scripts to Airflow. Scripts on a timer tend to fail quietly, and someone finds out when a report comes up short. In Airflow each pipeline has a schedule, its dependencies and retries, and a failed step shows up where the team can see it.

Apache Airflow

Heaviest sources moved to Redshift Spectrum

Then we migrated the existing data warehouse by changing the Redshift cluster and moving the heaviest data sources to Redshift Spectrum. Spectrum queries data where it sits in Amazon S3, so those sources no longer have to live in the cluster to be read.

Amazon RedshiftRedshift Spectrum

A separate pipeline for a model's calculations

We also built a separate data pipeline on AWS Batch and Docker that feeds an ML model's calculations. AWS Batch runs each job in a Docker container on compute it provisions as jobs come in, which suits work that arrives in batches.

AWS BatchDocker
Diagram: AppsFlyer, adjust, Amplitude and Google Analytics go via Airflow to S3, AWS Glue, Redshift and Redshift Spectrum

What our client achieved

98.8%

Savings in computing resources

6x

Faster queries

12x

Faster raw data collection

Data arriving faster than you can collect it?

Tell us which sources feed your warehouse, how long a day's extraction takes and where it fails. We reply within 24 hours.

Case studies

Related projects

Travel

Hotel chain gets one Power BI view of reviews from 10 sources

Guest review dashboard shown on a laptop: overall guest rating, reviews by source, the topics pulling scores down, topic scores per hotel, review text sorted by keyword and reviews per month