---
title: "How we selected the next vector database at Booking.com"
description: "Booking.com replaced its OpenSearch-backed internal Embedding Service with Weaviate after running its own production-shaped benchmark instead of trusting public comparisons."
url: "https://swe.quest/articles/how-we-selected-the-next-vector-database-at-booking-com-464edc602538488f"
canonical: "https://booking.ai/how-we-selected-the-next-vector-database-at-booking-com-1e738a5e3bb0"
source: "Booking.com Data Science"
published: "2026-08-11"
difficulty: "medium"
kind: "Case study"
reading_minutes: 8
tags: ["vector-search","performance","rag","ml-platform","cost-optimization"]
---

# How we selected the next vector database at Booking.com

A post on [Booking.com Data Science](https://swe.quest/sources/booking-ai.md), published 2026-08-11, 8 min read, Case study. Original: [https://booking.ai/how-we-selected-the-next-vector-database-at-booking-com-1e738a5e3bb0](https://booking.ai/how-we-selected-the-next-vector-database-at-booking-com-1e738a5e3bb0)

## Summary

Booking.com replaced its OpenSearch-backed internal Embedding Service with Weaviate after running its own production-shaped benchmark instead of trusting public comparisons. The evaluation used 100M all-MiniLM-L6-v2 embeddings built from Amazon Reviews 2023, with full and filtered approximate KNN plus a mixed workload including 20% writes, at 5 to 100 concurrent clients. Every system was tuned to about 0.99 recall and compared mainly on P99 latency. Dedicated vector databases gave lower tail latency and better scaling under concurrency, with roughly 40% lower compute and memory cost. Because clients already reached storage only through an internal service, most teams migrated with just a configuration change.

Written by swe.quest, not by the author.

**Difficulty:** Medium: assumes a working developer; shows how it is built or done

## Topics

- [Vector search](https://swe.quest/tags/vector-search.md) (Data & databases)
- [Performance engineering](https://swe.quest/tags/performance.md) (Reliability & operations)
- [RAG & retrieval](https://swe.quest/tags/rag.md) (AI & ML)
- [ML platforms](https://swe.quest/tags/ml-platform.md) (AI & ML)
- [Cost optimization](https://swe.quest/tags/cost-optimization.md) (Reliability & operations)

## Prerequisites

- vector embeddings ([easy posts on RAG & retrieval](https://swe.quest/tags/rag.md?difficulty=easy))
- approximate nearest neighbor search ([easy posts on Search](https://swe.quest/tags/search.md?difficulty=easy))
- latency percentiles ([easy posts on Performance engineering](https://swe.quest/tags/performance.md?difficulty=easy))

## Keywords

Weaviate, OpenSearch, all-MiniLM-L6-v2, Amazon Reviews 2023, Booking.com, AWS

## Related posts

- [Under the hood of Booking.com’s search engine](https://swe.quest/articles/under-the-hood-of-booking-com-s-search-engine-3615517db8d733bb.md): Booking.com Engineering · 2026-11-21 · Medium · 7 min read · Search, System design, Distributed systems, Databases, Performance engineering
  Booking.com’s search engine generates personalised hotel offers at request time instead of precomputing and indexing every possible room/date/price combination, which would be combinatorially infeasible.
- [Matryoshka embeddings: faster OpenAI vector search using Adaptive Retrieval](https://swe.quest/articles/matryoshka-embeddings-faster-openai-vector-search-using-adaptive-retrieval-739d1a8595798695.md): Supabase · 2024-02-13 · Medium · 17 min read · Vector search, PostgreSQL, RAG & retrieval, Performance engineering
  OpenAI's text-embedding-3 models are trained with Matryoshka Representation Learning, so an embedding can be shortened by truncating trailing dimensions and renormalizing, which reproduces the API's \`dimensions\` output.
- [Run Embedding Models and Unlock Semantic Search with Docker Model Runner](https://swe.quest/articles/run-embedding-models-and-unlock-semantic-search-with-docker-model-runner-9d62d61c93466830.md): Docker · 2025-12-01 · Medium · 6 min read · Vector search, Inference & serving, Search, RAG & retrieval, Containers
  Docker Model Runner can serve embedding models locally, so semantic search and RAG pipelines run without sending private data to a hosted API and without per-call costs.
- [You Don't Need A Separate Vector Database](https://swe.quest/articles/you-don-t-need-a-separate-vector-database-3c832a16be076ef3.md): Turso · 2024-11-04 · Easy · 4 min read · Vector search, SQLite, Databases, RAG & retrieval
  Vector search belongs in your primary database rather than a separate system like Pinecone, because syncing embeddings across multiple stores adds cost and operational complexity.
- [pgvector 0.4.0 performance](https://swe.quest/articles/pgvector-0-4-0-performance-559fc540f926a562.md): Supabase · 2023-07-13 · Medium · 8 min read · Vector search, PostgreSQL, Performance engineering, Inference & serving
  With tuned settings, pgvector 0.4.0's IVFFlat index handles 1M OpenAI embeddings (1536 dimensions, dbpedia dataset) at about 1800 QPS with 0.91 accuracy@10 on a 64-core, 256 GB instance, or about 670 QPS at 0.98 accuracy.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
