Originally published at aharshit123456.space .
A visual search engine is not one program. It is a crowd of them: models that sit on GPUs waiting for a photo, a web of scrapers that wake up on a schedule, queues that hand work between them, and a database that has to agree with itself while all of this runs. Someone has to keep that crowd alive, reproducible, and cheap enough that a startup can afford it. For a stretch of my time as a founding engineer intern at shoppin', that someone was me.
This post is about the unglamorous half of a machine-learning product: the infrastructure. How the cloud setup was described as code, what happened the day we moved the whole thing from one continent to another, and how a tangle of scheduled jobs and a crash-prone control panel slowly turned into something I trusted. shoppin' was a fashion visual search app. You snapped a photo of an outfit and it found the same or similar items across many online stores, with prices.…