Two years of vector search at Notion: 10x scale with 90% cost reduction
Notion AI Q&A launched in November 2023 to overwhelming demand, creating a waitlist of millions of workspaces. The original pod-based vector infrastructure neared storage capacity within one month of launch, and daily onboarding was so slow that clearing the backlog at the initial rate would have taken decades.
The original dedicated-hardware pod architecture coupled storage and compute, making over-provisioning prohibitively expensive and requiring complex incremental re-sharding every two weeks. Managing multiple database generations became operationally complex and expensive during the growth phase.
Over two years, Notion scaled its vector search infrastructure by 10x while reducing costs by 90 percent, achieving a 600x increase in daily onboarding capacity and clearing the Q&A waitlist by April 2024.
p50 query latency improved from 70–100ms to 50–70ms, and hash-based selective re-embedding achieved a 70% reduction in data volume.
Show all 12 reported metrics
Frequently asked questions
What did this team achieve with this AI workflow?
Over two years, Notion scaled its vector search infrastructure by 10x while reducing costs by 90 percent, achieving a 600x increase in daily onboarding capacity and clearing the Q&A waitlist by April 2024.
What tools did this team use?
Apache Spark, Kafka, Airflow, turbopuffer, DynamoDB, Ray, Anyscale, AWS EMR, xxHash, Ray Serve.
What results were reported?
Vector search infrastructure scale: 10x; Overall cost reduction: 90 percent; Daily onboarding capacity: 600x increase; Active workspaces growth: 15x growth (source-reported, not independently verified).
What failed first in this deployment?
The original dedicated-hardware pod architecture coupled storage and compute, making over-provisioning prohibitively expensive and requiring complex incremental re-sharding every two weeks.
How is this back office ops AI workflow structured?
Dual-path ingestion pipeline → Generation-based shard routing → Serverless architecture migration → Turbopuffer migration with model upgrade → Hash-based span change detection → Selective re-embedding → Ray/Anyscale embeddings pipeline → Query-time embedding serving.