Sunday, January 18, 2026
HomeData Modelling & AIBig dataFarfetch: Scaling recommendations with Vespa

Farfetch: Scaling recommendations with Vespa


Farfetch has written a blog post explaining how they use Vespa to scale online recommendations in their
e-commerce platform:

One of our major challenges is to do it without increasing our infrastructure indefinitely.
To tackle this scalability challenge, we choose to use a vector database and Vespa matches
our necessity because of all the available features:

  • Tensor Operations: Dense and sparse vector operations (e.g. map, reduce, slice, etc.).
  • Complex Ranking: Compute different signals (e.g. bm25, dot-product, cosine, etc.) and use them freely to rank document matches.
  • Keyword Search: You can use Vespa like Elasticsearch.
  • LTR: Native model service that can be used for ranking (e.g. LTR).
  • Filtering: Pre and post-filtering that you can tune to fit your use cases.
  • Performance: C++ code optimised to use SIMD operations when possible.

With this, we intend to serve all recommendations for all platforms using Vespa and have no scalability issues when a new online retailer joins our services.

The full post goes on to provide a great explanation of how to leverage Vespa’s support for
dense and sparse tensors in combination with
vector search
to do the large matrix multiplications typical of recommenders without storing large vectors on documents, while also
keeping latency below 100 ms. Read it at Farfetch’s blog.

RELATED ARTICLES

Most Popular

Dominic
32474 POSTS0 COMMENTS
Milvus
118 POSTS0 COMMENTS
Nango Kala
6846 POSTS0 COMMENTS
Nicole Veronica
11977 POSTS0 COMMENTS
Nokonwaba Nkukhwana
12063 POSTS0 COMMENTS
Shaida Kate Naidoo
6986 POSTS0 COMMENTS
Ted Musemwa
7219 POSTS0 COMMENTS
Thapelo Manthata
6933 POSTS0 COMMENTS
Umr Jansen
6911 POSTS0 COMMENTS