Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

Linux Foundation

Reusing Bazel's Analysis Cache by Cloning Micro-VMs

Linux Foundation via YouTube

Overview

Coursera Plus Monthly Sale: All Certificates & Courses 40% Off!
This conference talk explores how to optimize Bazel-integrated CI workflows through Firecracker micro-VMs and snapshotting techniques. Learn how to overcome bottlenecks in Bazel's analysis phase by implementing a system that serializes and saves running microVMs, allowing for reuse of warm Bazel processes and analysis caches in subsequent builds. Discover how this approach reduced median CI run duration by nearly 8x, with most runs completing in just seconds. The presentation also covers advanced techniques for remote snapshot sharing across machines using userfaultfd and network block devices to capture disk and memory operations, maintaining performance benefits even through machine restarts and failures. Speaker Maggie Lou walks through these optimizations and demonstrates their significant performance improvements in this 28-minute Linux Foundation talk.

Syllabus

Reusing bazel’s analysis cache by cloning micro-VMs

Taught by

Linux Foundation

Reviews

Start your review of Reusing Bazel's Analysis Cache by Cloning Micro-VMs

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.