Search and Discovery at SoundCloud
summary
SoundCloud migrates search from a coupled Solr monolith to a greenfield ElasticSearch cluster because the API, failure modes and built-in features match expectations. Relevance uses a graph-based Pagerank variant called DiscoRank that is computed offline, serialized into a compact array and loaded into ElasticSearch as a custom score module; queries run a hybrid two‑phase TF-IDF match then re-rank, with new records searchable in ~2–3s and a full catalog reindex in ~45 minutes. Indexing comes from RabbitMQ to a stateless idempotent indexer (iterated in Go), and deployment runs on an internal Heroku-like platform named Bazooka following 12‑factor principles.
AI-written summary · about
