~/lightning

Lightning Talk: How to Get Slim with Soci and Stars: Minifying Containers with Lazy Image Loading in ContainerD

Lightningat Container Plumbing Days 2024 · on Monday, 2024-04-15· at 10:25· 335-336 (Level 3)· [web-performance]
links:none on file
slides:none on file

Explores using ContainerD’s lazy image loading via SOCI index and stargz per-file tars to derive exact files loaded at runtime and feed that telemetry into SlimToolkit to produce tiny, runnable images. Shows that snapshotters use HTTP range requests and FUSE callbacks, requires disabling background fetching and lowering default chunk sizes (SOCI defaults to 4MB), and needs an instrumented registry (one-line log) to map ranges back to file offsets and generate minified images.

AI-written summary · about

  1. 0:00Minimal container images
  2. 1:11Lazy loading with snapshots
  3. 2:20Container image layers
  4. 3:23On-demand loading with Starz
  5. 4:50SOI index structure
  6. 6:20StarGZ index rebuilding
  7. 7:24Disabling background fetching
  8. 8:12Minified images with Darker Slim
  9. 8:55Live demo setup
  10. 10:14Range requests demo
  11. 12:50File resolution requirements
  12. 13:54Conclusion
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.