Thursday, March 12, 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

1 COMMENT

Most Popular

Dominic
32506 POSTS0 COMMENTS
Milvus
131 POSTS0 COMMENTS
Nango Kala
6882 POSTS0 COMMENTS
Nicole Veronica
12005 POSTS0 COMMENTS
Nokonwaba Nkukhwana
12099 POSTS0 COMMENTS
Shaida Kate Naidoo
7011 POSTS0 COMMENTS
Ted Musemwa
7255 POSTS0 COMMENTS
Thapelo Manthata
6967 POSTS0 COMMENTS
Umr Jansen
6956 POSTS0 COMMENTS