More Search Latency from AKS with Azure Postgres Flexible Server

Sai 0 Reputation points
2025-03-13T16:07:02.6533333+00:00

When connecting to an Azure Postgres Flexible Server with the Pgvector extension enabled, I am experiencing higher search latency when inferencing from AKS compared to Azure Databricks. The setup includes a HNSW index on text embeddings for semantic search results. Despite separating the connection time from the search time, the latency from AKS remains significant and more than that of Azure Databricks. What could be the reasons for this difference in performance?

Not Monitored
Not Monitored
Tag not monitored by Microsoft.
42,641 questions
0 comments No comments
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.