cancel
Showing results forย 
Search instead forย 
Did you mean:ย 
Get Started Discussions
Start your journey with Databricks by joining discussions on getting started guides, tutorials, and introductory topics. Connect with beginners and experts alike to kickstart your Databricks experience.
cancel
Showing results forย 
Search instead forย 
Did you mean:ย 

Best Practices and Questions for Configuring High QPS AI Search Endpoints in Databricks

pj-celebal-tech
New Contributor

Hello Databricks Community,

I am exploring the configuration and scaling of high QPS (Queries Per Second) endpoints for Databricks AI Search, as described in the official documentation. I have several questions and would appreciate insights from anyone who has experience with high-throughput search workloads:

  1. What is the maximum QPS supported for AI Search endpoints, and how can I request higher QPS for my application?
  2. How does Databricks provision infrastructure to meet the target QPS, and are there any guarantees for sustained throughput?
  3. What factors influence the QPS limits for a given AI Search index (e.g., index size, data type, concurrency)?
  4. How can I monitor and troubleshoot QPS-related issues, such as 429 (Too Many Requests) errors or latency degradation?
  5. Are there recommended best practices for scaling AI Search endpoints to support real-time applications with high QPS requirements?
  6. Can I dynamically adjust the target QPS after an endpoint is created, and what is the impact on performance and cost?
  7. What are the differences between standard and high QPS endpoints, and how do I choose the right configuration for my workload?
  8. Is there a way to estimate the required QPS for my application based on expected traffic and query complexity?
  9. How does QPS scaling interact with index updates or sync operationsโ€”are there any limitations or considerations?
  10. Are there any additional costs associated with requesting or maintaining high QPS endpoints?

If you have practical experience, tips, or documentation links, please share! I believe this discussion will help others planning to scale their AI Search workloads.

Thank you!

1 REPLY 1

Lu_Wang_ENB_DBX
Databricks Employee
Databricks Employee

Answers to your questions:

  • Max QPS: Standard endpoints default to 20โ€“200 QPS depending on index size, and with high QPS you can scale to 1,000+ QPS on standard endpoints.
  • How to request more: Set target_qps when creating or updating a standard endpoint via UI, SDK, or REST. Databricks then provisions extra capacity automatically.
  • Guarantees: Itโ€™s best-effort, not guaranteed; actual throughput depends on workload and traffic shape.
  • What affects QPS: index size, vector dimensionality, query complexity, filter usage, num_results, and whether you use managed embeddings / optimized query route.
  • Monitoring/troubleshooting: Check endpoint scaling_info.state, use the index URL with service principal OAuth, and look for SCALING_CHANGE_IN_PROGRESS, 429s, or rising latency.
  • Best practices: Use service principals, reuse the index object, keep num_results modest, load test, and split/replicate across endpoints if you need more total throughput.
  • Dynamic changes: Yes โ€” you can update target_qps after creation. While scaling is in progress, capacity changes arenโ€™t immediate; avoid changing it again until the state becomes applied.
  • Standard vs high QPS: High QPS is for standard endpoints only; storage-optimized endpoints donโ€™t support it. Standard is the right choice when sustained query throughput matters.
  • Estimating needs: Use expected traffic + query shape, then load test. Databricks also provides a GenAI calculator for rough cost/capacity estimates.
  • Sync/update interaction: Changing target_qps does not require a sync to take effect, but the new capacity applies only after provisioning completes.
  • Cost: Higher target QPS increases endpoint cost, and youโ€™re charged for the provisioned capacity even if traffic is lower.

Docs: