Ten times the data, the same budget
The 1M run with ten times the data. Every engine had its own DigitalOcean machines with 6.8 CPUs and 52 GiB, and nine of the fourteen finished. ChloeDB 0.3.5, Elasticsearch and OpenSearch ran again on 16 November, taking turns on the same machines with every result cache off; the others' numbers are from 3 November.
ChloeDB is fastest on 26 of the 45 tests and in the top half on 41. Its lowest places are key lookups (6th of 9) and recall under a filter (5th). The SQL aggregate that was its worst result on 3 November (4.3 s) now takes 35.6 ms, the fastest of the run, and typo search 55.1 ms instead of 824. Head to head with Elasticsearch and OpenSearch it is fastest on 37 of the 45 tests (below).
- Data
- The first 10M MS MARCO v2.1 passages, with their Arctic Embed M v1.5 vectors (768 dimensions)
- Machines
- DigitalOcean sfo2, Xeon Platinum and Gold; 6.8 CPUs and 52 GiB per engine. ChloeDB, Elasticsearch and OpenSearch on two m3-4vcpu-32gb machines (Platinum 8280) on 16 November, the others on machines of their own on 3 November
- ChloeDB
- 0.3.5 (the tag's commit
1445c10, with the harness of #575): 2 pods of 3.4 CPUs and 26 GiB, each a shard and a coordinator in one process - Queries
- 300 dev queries per kind at 1, 4 and 16 clients, after warm-up; medians of three passes for ChloeDB, Elasticsearch and OpenSearch, one pass for the rest
- Noise
- ChloeDB ran first and again last on 16 November's machines, ten hours apart: the second round was 1.0% slower (the median over 42 timings, up to 4.9%). Between the two days the machines differ, so read gaps under 10% there as ties
- Cost
- $83.07 at list price on 3 November, failed attempts included; 16 November's head to head is in the 1M run's $28.67
Head to head with Elasticsearch and OpenSearch
ChloeDB 0.3.5, Elasticsearch 9.5.5 and OpenSearch 3.9.0 taking turns on the same two m3-4vcpu-32gb machines, every result cache off, three passes each. Of the three, ChloeDB is fastest on 37 of the 45 tests and has the best recall on all three vector kinds. Elasticsearch is fastest on typos, and OpenSearch on BM25 under load (820 queries a second at 16 clients, ChloeDB 650) and on key lookups (0.82 ms at one client, ChloeDB 0.99).
Raw data: the 0.3.5 run and its passes.md. The rest of this page ranks these three from this run with the other engines of 3 November.
0.3.5 against the image this page showed before
Until 16 November this page showed ChloeDB's 7 November image (861ab1d). 0.3.5 ran on two m3-4vcpu-32gb machines as it did, on another day. Its median at one client is 1 to 16% lower on 13 of the 14 kinds, and at 16 clients it serves between 7% fewer and 12% more queries a second. Typo search is the exception: 45.8 to 55.1 ms at one client and 26% fewer queries a second at 16 clients, while Elasticsearch's and OpenSearch's typo queries got no slower. Something between 861ab1d and 0.3.5 slowed it; it is not bisected yet.
Summed places over 45 tests
Under other rules
ChloeDB stays first at 16 clients, with gaps under 15% as ties, and on average place. Postgres is first on the four kinds every engine answered (33 points against ChloeDB's 43): its text kinds hit a 20 s limit, which left it vectors, key lookups and aggregates.
Each engine's place on each kind
Green is first, orange last, hatched not run.
The numbers behind the places
Vector kinds show recall@10 beside speed.
About twice as fast as the closest engines
ChloeDB's speed over each engine's, the geometric mean over the kinds both run. Postgres answered five kinds at this size, so its ratio rests on those. Milvus and Redis ran on a 128 GB machine. Open an engine for each kind.
Milvus and Redis, with more memory
Both needed more than 52 GiB, so they ran with the same CPUs on 128 GB and are not ranked. Redis is fastest on vectors (at recall 0.684) and key lookups, and takes 0.8 to 1.5 s on text. Milvus has the best filtered recall, at about an eighth of ChloeDB's vector throughput. While searching on 3 November, Redis held 72 GiB, Milvus 64 and ChloeDB 2.2.
Searchable in 7 ms
ChloeDB and Vespa make a write searchable when it returns (6.7 and 10.0 ms); Elasticsearch and OpenSearch refresh every second (731 and 867 ms at the median). At 16 clients ChloeDB's updates are more than three times as fast as theirs (6,730 a second against 1,858 and 1,964), because it sets one column in place. A crashed stream consumer resumes exactly, since offsets commit with the rows. Solr has no write numbers.
Shown, not ranked
ChloeDB's shards were built offline from local files, the others over HTTP, so load times do not compare.
Typos, key lookups, recall and BM25 under load
- Typo search. 55.1 ms, against Elasticsearch's 32.4 (OpenSearch 44.4). It took 824 ms on 3 November's build, before #242 and #266, and 45.8 on 7 November's image: something since has slowed it (above).
- Key lookups. 0.99 ms, against 0.37 to 0.47 for Postgres, Weaviate, ParadeDB and Qdrant and OpenSearch's 0.82: most of it is the hop from a coordinator to the shard. #299 skips it for the coordinator's own shard, which helps under load more than at one client.
- Vector recall. 0.798 at the shared settings, against Qdrant's 0.941 and Postgres's 0.826; 0.816 under a filter, against Solr's 0.917. With 256 candidates ChloeDB reaches 0.914 and 0.918, at 680 and 582 queries a second at 16 clients; Elasticsearch and OpenSearch reach 0.767 and 0.757 without a filter (ef.md).
- BM25 × recency. 8.02 ms, against Vespa's 5.42 and Qdrant's 5.86.
- BM25 at 16 clients. 650 queries a second, against OpenSearch's 820 and Elasticsearch's 662 on the same machines, though ChloeDB answers a single BM25 query the soonest (3.28 ms, against 3.71 and 4.44). Under load the shards' own scoring is what waits.
Five engines that did not run at 52 GiB
- Typesense ran out of memory at 7.2M documents.
- Milvus ran out of memory building its index, and ran again on 128 GB.
- Meilisearch had indexed about 4M documents after nine hours.
- Manticore was still merging after eight hours.
- Redis keeps everything in memory, so it ran on 128 GB from the start.
- Postgres finished, but its text search averaged 28 s a query on a 107 GB table; with a 20 s limit, its text kinds count as not answered.
ChloeDB's first attempt hit a 5 s server deadline on cold vector queries and was run again with the client's 30 s (#244). No number here comes from a failed attempt.
Every number comes from these files
- The 0.3.5 run's README of 16 November: setup, machines, the drift check, and how its numbers compare with 7 November's
- passes.md, rank-no-load.md and ef.md of its head to head: the medians of three passes, the ranking and the candidates sweep
- Its directory: raw results, loads, writes, streams and ChloeDB's second round
- ChloeDB's rerun of 7 November: the image this page showed until 16 November
- README.md of 3 November: setup, machines, the noise check and what went wrong
- tables.md: every table of 3 November
- rank.md: 3 November's ranking as
rank.pycomputes it - The directory of 3 November: raw results per engine, loads, writes and logs
- The method: budgets, settings and every engine's request for each kind