turbopuffer is designed to be performant by default, but there are ways to optimize performance further. These suggestions aren't requirements for good performance--rather, they highlight opportunities for improvement when you have the flexibility to choose.
For example, while a single namespace with 10M documents works fine, splitting it into 10 namespaces of 1M documents each will yield better query performance if there's a natural way to group the documents.
Glob tpuf*
is compiled down to an optimized prefix
scan, whereas Glob *tpuf*
or IGlob
will potentially scan at every document in the namespace.
Contact us if you're seeing performance issues for your workload, we can likely suggest alternatives (e.g. using full-text search or a different filter).