Grab implemented Docker image lazy loading using SOCI (Seekable OCI) technology to solve slow container startup times caused by large images. The solution achieved 4x faster image pull times on fresh nodes, 30-40% faster P95 startup times in production, and 60% improvement in download times after configuration tuning. Unlike traditional image pulls that download all layers before starting, lazy loading uses remote snapshotters to fetch data on-demand via FUSE filesystems. Grab chose SOCI over eStargz because it's natively supported on Bottlerocket OS, doesn't require image conversion, and maintains the same application startup time as standard images while dramatically reducing image pull time.

12m read timeFrom engineering.grab.com
Post cover image
Table of contents
IntroductionResults: The numbers speak for themselvesProduction performanceTechnical background: How Docker lazy loading worksBuilding and deploying lazy-loaded imagesKey takeaway: Why we chose SOCIConclusionJoin us
4 Comments

Sort: