Chroma is the easiest vector database for getting a RAG loop working on a laptop in an afternoon: install it with pip and you are running queries in under five minutes. It is built for prototyping and local development, not for serving a million users. The honest way to use it is to know its ceiling and plan the production store separately.
Before you start
A Python environment where you can pip install Chroma, and a test corpus you can grow in steps.
Build the prototype first
Install Chroma, embed a small corpus, and run your test questions. Record recall at 5 and latency at this small size: this is the baseline for everything that follows.
Use Chroma’s persistent mode so the index survives a restart, and keep the prototype code separate from the production plan.
Push the volume up in steps
Grow the corpus in steps, for example 10,000, then 100,000, then 500,000 vectors, and re-run the same questions at each step. Record recall and latency each time.
Watch for the step where latency jumps or recall falls: that is the practical ceiling for your hardware and your query pattern.
Note the ceiling and plan the move
Write down the vector count where Chroma stops meeting your latency or recall target. Plan the production store, such as Qdrant or Pinecone, before you reach that count, not after.
Keep the embedding model and chunking the same across the move, so only the store changes.
Practice check: fictional Maple Corner corpus grown in steps
The table below is fictional practice material, worked out by hand from the stated step figures. It is the expected result for the practice corpus, not a run of any database.
| Vectors | Recall at 5 | Latency | Verdict |
|---|---|---|---|
| 10,000 | 18 of 20 | 25 ms | Pass |
| 100,000 | 18 of 20 | 60 ms | Pass |
| 500,000 | 17 of 20 | 210 ms | Pass, slower |
| 1,000,000 | 16 of 20 | 480 ms | Fail – too slow here |
Chroma holds recall to 500,000 vectors but latency passes the 200 ms target at 1,000,000. The ceiling for this workload is between 500,000 and 1,000,000 vectors.
Expected result. UNTESTED: the latency and recall figures in the practice table are worked out by hand, not measured by running Chroma. Grow your own corpus in steps, re-run the same questions at each step, and note where latency passes your target.
Limits
- Chroma’s ceiling depends on your hardware, your dimensions and your filters, so the numbers above do not transfer to another setup.
- A prototype that works is not a production system: backups, access control and monitoring still need to be built.
