Thumbnail Generation in Elixir/Erlang with libVIPS
summary
Claims sub‑second thumbnailing versus 4+ seconds using libVIPS and a small C helper; actual code lives at supervised-scaler. Implementation details: a C program talks over stdin/stdout using the libvips C binding, supervised from Elixir via an exec/port pool so crashes restart automatically. Measured result is <1s versus >4s on a large 6000×6000 image, temporary files are allocated and must be cleaned, and the design isolates malicious input by process restart.
AI-written summary · about
chapters (5)
- 0:00Introduction to thumbnails
- 1:07Evaluating solutions
- 2:51Choosing the right library
- 3:54Implementation strategy
- 5:34Conclusion and follow-up
related talks
33mProcessing 2.7 million images with Elixir (vs Ruby)
30mReimagining the image pipeline at Squarespace
23mScreenshot testing with ViteShot
14mReducing Image Memory Consumption in 10 Minutes
25mThe Life of an Image on iOS
20mImage Optimization - Quick Win for Improving Performance in Vue & Nuxt Apps
33mImpatience is a virtue
37mImage Formats, Performance and Cognitive Load
