Navigating Cost Pressures at Scale with Rivian’s Connected Vehicle Platform
summary
Rivian describes a cloud-backed vehicle platform that streams 15,000 inbound payloads/sec from 130,000 cars into MSK (Kafka), Flink, Apache Druid (on EKS) and Databricks Delta Lake; a production incident in April 2023 ties a maxed-out iptables row limit on packed DNS pods to a cascade of 401s that logged users out and broke mobile keys, traced to Carpenter packing and removed buffer capacity. Cost moves include a Rust Gateway rewrite (50→5 nodes), Graviton instances, autoscaling with Carpenter, and an asserted ~180% per-vehicle cost reduction. Mitigations add NFC local unlocks (CCC) and control-plane isolation.
AI-written summary · about
chapters (12)
- 0:00Introduction and personal story
- 3:39Rivian’s vehicle platforms
- 8:17Connected vehicle revolution
- 10:47Data platform architecture
- 13:37Cost challenges with Druid
- 15:06Kafka and MSK scaling
- 16:07EKS and cost optimization
- 17:36Overbuilt cloud systems
- 20:47Cost savings and risks
- 21:08April 2023 incident
- 26:49Lessons from the outage
- 27:31Closing and Q&A
