Circleback dumped 1.7 TB of pgvector to build its own Rust search engine

We moved 1.7 TB off pgvector to our own Rust search engine

Circleback dumped 1.7 TB of pgvector to build its own Rust search engine

Circleback's meeting search ran on pgvector with no vector index, forcing every query to scan 1.7 TB of embeddings — some searches took 20 to 40 seconds and missed results. The team rewrote search as Orion, a Rust engine that generates its own embeddings, keeps its index in cheap blob storage, and shards by meeting. Searches now finish in under a second, and costs should drop roughly tenfold.

The worst slowdown turned out to be in our code. Prisma copies binary columns numerous times on their way into Node, which caused long garbage collection pauses with big transcripts.
  1. tobz1000

    > We had 1.7 TB of those and no vector index

    > we cut words down to their root, so "pricing" became "price". We didn't do the same to searches, so a search for "pricing" never found "price".

    Was there any attempt to fix these deficiencies before creating a whole new system? It seems like the functionality & performance comparison would be more meaningful against an optimised PG.

  2. pcthrowaway

    Why do people design applications like this?

    You make software to transcribe meetings on your server. Fine.

    Once transcribed though, what good reason is there for you to keep it on your servers, unencrypted to fulfill your users' search requests? Couldn't you store it encrypted (if at all), with client custody of the decryption keys, and search happening locally in the client application?

    OK, maybe for large organizations you don't want to send gigabytes of transcript logs to each client application. So let large organizations host their own transcript store running your transcript search, and sell them an SLA. Search then happens using your software, on their deployment.

    Solves a lot of technical challenges from mixing everyone's meeting transcripts together and storing them all in one location, and it's more respectful of your clients' privacy.

  3. mkesper

    Why did they use no index with pgvector? Does not sound convincing.

More from this day

2026-12-03