podcasts / Gaurav Sen / episode / question
Question

How does Gaurav Sen speed up vector database search for a RAG chatbot?

Answered from AI Interview #8 - Why is the chatbot so slow? · Gaurav Sen · 2026-10-05

Gaurav Sen suggests tuning the approximate nearest neighbour index, such as HNSW or IVF, then running the search in parallel and pooling database connections. He adds a Redis cache with vector search for common queries, horizontal scaling, and sharding the vector database so each query is routed to the shard that matches its type.

Source: our own transcription of the episode. The full conversation is on Gaurav Sen (2026-10-05). Read the whole episode summary →

▸More from this episode

Q1Why is an LLM chatbot slow, according to Gaurav Sen?Q3Why does Gaurav Sen say semantic chunking is slow at scale?Q4What slows down document upload in a RAG system, according to Gaurav Sen?
Transcribe your links. Paste a YouTube, Google Drive or podcast link and WhipScribe gives you the transcript. Transcribe a link →