
11/2/2020 · Matthias Käppler
What this post added
This post details the integration of an on-the-fly image scaling solution into GitLab Workhorse. The team researched and discarded static scaling due to maintenance overhead and flexibility issues. They opted for dynamic scaling within Workhorse, leveraging its existing infrastructure for request authentication and business logic. A Go-based image scaling executable was developed and integrated as a sidecar process within Workhorse to handle image resizing for avatars and embedded images, achieving a 93% reduction in image transfer size.