Sign in

Technology

Annoy

Spotify’s C++ library with Python bindings for memory-efficient approximate nearest neighbor searches in high-dimensional spaces.

Annoy (Approximate Nearest Neighbors Oh Yeah) optimizes similarity searches by building static file-based index structures that are shared across processes via mmap. This architecture allows systems to handle millions of vectors (like 100-dimensional song embeddings) without bloating RAM usage. It uses random projections to create a forest of trees, balancing search speed and accuracy through a single parameter: the number of trees. Whether you are serving music recommendations to 500 million users or clustering research data, Annoy delivers sub-millisecond lookups and a minimal memory footprint.

https://github.com/spotify/annoy

What builders pair with Annoy

Projects using both technologies. Select a pairing to see a project.

5 more pairings

Pairing: Chroma

Photo from the event
Event photo

Teaching AI to read ancient Maya Glyphs

Montreal · October 21, 2025

Recent Talks & Demos

Showing 1-1 of 1

Members-Only

Sign in to see who built these projects