Does search latency increase with the document size?

Viewed 54

Does the search latency increase when data keeps on growing in a document type? As we don't directly manage shard type configurations in Vespa, how does it manage it?

Is creating multiple document types a good practice for handling scaling requirements?

2 Answers

Vespa distributes documents evenly (using the CRUSH algorithm) over the available nodes in the content cluster. If you add (or remove) nodes in a cluster, Vespa will automatically redistribute in the background.

Typically, latency is proportional to the number of documents per content node, adding more content nodes reduces latency. You can do that at any point while in production.

As you can see from this, you never want to add more search definition (schemas) to scale.

Related