Schema On Read and the New Logging Way
summary
Claims that storing raw logs in S3 and querying them with schema-on-read SQL cuts debugging from weeks to minutes; implementation uses Fluentd to JSONify events, Kinesis Firehose to batch into S3, Athena (scan-cost lesson: $5/TB, single bad query cost ~$150) and Parquet columnar files to make queries cheap and fast. Handles 40,000 events/sec from a multi-tenant MTA (sends ~25% of non-spam mail), exposed a missing-event pattern fixed by a Lambda “rehydration” endpoint called IH force feed, and it works in production.
AI-written summary · about
chapters (12)
- 0:00Introduction and speaker background
- 1:08Two kinds of system narratives
- 8:58SparkPost MTA and logging challenges
- 12:08Need for how it is not what happened
- 16:46Schema on read explained
- 19:38AWS Athena and data lakes
- 21:02Streaming logs to S3 in real time
- 23:46Kinesis Firehose for log processing
- 24:30Athena cost and columnar storage
- 27:40Debugging the data pipeline
- 31:19IH Force Feed solution and adoption
- 32:22Summary and closing
