A story about distributed computing before the cloud arrived
summary
Company processes ~100 million assets and 12 million new image URLs per day. A slow open source Google JPEG encoder takes ~25 seconds per file so a queue would take years to drain, so a small system is built: two HTTP endpoints (GET work / POST result), a Go cross‑compiled CLI that embeds the encoder via go‑bindata and auto‑updates, a pHash check for security, and gamification. 500 laptops pick jobs and run work, yielding 30–45% size reduction and the backlog disappears. Go cross-compiling makes multi‑platform deployment trivial.
AI-written summary · about
chapters (14)
- 0:00Introduction to the talk
- 0:23Company background and context
- 1:47Asset processing at scale
- 3:30Discovering Guetzli for image optimization
- 4:34Testing Guetzli performance on a single image
- 5:38Initial attempt to apply Guetzli synchronously
- 6:45Realizing the scalability challenge
- 7:05Company culture and idle resources
- 8:07Designing distributed processing endpoints
- 9:11Building the client tool in Go
- 10:39How the distributed processing works
- 11:26Gamification and community engagement
- 12:09Results and conclusions
- 12:29Q&A session
