Benchmarking six ways to collect application logs in the cloud
Six alternatives for collecting more than 10 TB of mobile-app logs a day, benchmarked end to end: managed Spark ran in half the time of a serverless ETL job.
Designer and benchmark lead; POC delivery
- Amazon EMR
- AWS Glue
- Apache NiFi
- Fluent Bit
Context
A mobile app produces more than 10 TB of raw logs a day in over 2 million files. The volume had outgrown the existing collection path, and the analytics team needed a dependable alternative.
Role
I designed the alternatives, benchmarked them with the cloud and logging teams, and delivered the proof of concept.
Approach
Six scenarios were designed and benchmarked, including managed Spark, a serverless ETL service and NiFi-based options. The chosen design became a working collection pipeline with a week of data for customer analytics.
Result
Managed Spark processed the benchmark in 144 minutes against 291 for the serverless ETL job. The proof of concept cost $250 to develop and set a cost-benchmark baseline for later cloud decisions.