TLDR Web Dev · ARTICLES & TUTORIALS

HOW CANVA COLLECTS 25 BILLION EVENTS PER DAY

canva.dev10 min read

Summary from the TLDR Web Dev newsletter

Canva's product analytics pipeline collects 25 billion events per day with high uptime, using Protobuf to define event schemas and Datumgen to generate code and enforce compatibility rules. The event collection process starts with analytics clients on various platforms, then events are validated and enriched in ingest-workers before being sent to a Kinesis Data Stream (KDS). KDS serves as the primary streaming platform, with SQS as a fallback for overflow protection and failover mode.