When retrieving dynamic context mid-call for AI voice agents, speed is everything.
I've been benchmarking two stack setups for vector retrieval:
Option A: Supabase (pgvector)
- Pros: Single database for application data + vectors; cheaper operational overhead; easy relational joins.
- Cons: Indexing speed slows down noticeably once vector count exceeds ~200k embeddings without heavy tuning.
Option B: Dedicated (Pinecone / Qdrant)
- Pros: Sub-50ms query times at scale; built for pure vector search optimization.
- Cons: Syncing user data between main DB and vector DB introduces state drift and extra API calls.
For real-time voice agents, Supabase has been plenty fast under 100k records, but Qdrant takes the crown for raw sub-50ms execution.
What is your preferred database stack when building low-latency RAG systems for agents?