Skip to content

[FEATURE/PERFORMANCE] Search Client AzureKeyCredential request aggregation #46663

Open
@philipborg

Description

@philipborg

Library name

Azure.Search.Documents

Please describe the feature.

While stress-testing our search solution we have discovered an issue with HTTP requests. It occasionally makes up to ~50 requests at once to https://login.microsoftonline.com/{UUID}/v2.0/.well-known/openid-configuration which causes severe performance issues.

In our setup we have a singleton SearchClient in ASP.NET.

Our hypothesis is that this is during authentication renewal and that there is a missing request aggregation in the SDK, causing all new searches until authentication is renewed to trigger a new separate HTTP request to authenticate.

Metadata

Metadata

Assignees

Labels

ClientThis issue points to a problem in the data-plane of the library.Searchcustomer-reportedIssues that are reported by GitHub users external to the Azure organization.needs-team-attentionWorkflow: This issue needs attention from Azure service team or SDK teamquestionThe issue doesn't require a change to the product in order to be resolved. Most issues start as that

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions