Operating Apache Spark at OpenAI's Hyperscale Lakehouse
summary
OpenAI runs Apache Spark across tens of EKS/AKS clusters and schedules hundreds of thousands Spark apps/day, each typically 30–50 executors, generating tens of millions of Kubernetes pods daily; data scanning averages several TB/s and reaches a peak 220 TB/s. Operations add an Ignis gateway, global fair scheduler, remote Carbon shuffle, IPv6 flat networking with Route53 DNS, cross‑cloud replication, a shadow run service for preflight comparisons, and an S3 cache using 4MB blocks and RocksDB that achieves about a 90% cache hit rate.
AI-written summary · about
chapters (9)
- 0:00Introduction to Spark at OpenAI
- 1:55Spark job scheduling architecture
- 8:55Shadow job testing for Spark
- 13:50Infrastructure challenges at hyperscale
- 22:23Kubernetes control plane optimization
- 27:38S3 cache layer for reads
- 30:49Observability at OpenAI scale
- 32:35Automation and AI agents
- 35:43Future challenges and growth
