Description
Elastic.Clients.Elasticsearch version: 8.17.4 (previously 8.15.0)
Elasticsearch version: Elastic Cloud (SaaS) 8.15 (before upgrade) — issue noticed after upgrading the client to 8.17
.NET runtime version: .NET 9.0
Operating system version: Linux (Kubernetes pods) — 10 pods handling connections
Description of the problem including expected versus actual behavior:
I am investigating a possible performance degradation after upgrading the Elastic.Clients.Elasticsearch library from version 8.15 to 8.17.
During load testing, I noticed an unusual increase in CPU usage in the Elasticsearch cluster when running queries. I suspect this might be related to open connections or changes in how the Elastic.Transport layer handles connections between these versions.
This was not observed with the 8.15 client version.
Steps to reproduce:
Deploy an application using .NET 9.0 with Elastic.Clients.Elasticsearch 8.17.0.
Set up 10 pods handling a load of approximately 1.3k requests per minute.
Perform multiple search queries under load and monitor CPU usage on the Elastic Cloud cluster.
Expected behavior:
Connection handling and resource usage similar to previous versions (8.15), with stable CPU usage on the Elasticsearch cluster under the same load conditions.
Provide ConnectionSettings (if relevant):
Using the default settings provided by the Elastic.Clients.Elasticsearch client for 8.17, configured to connect to Elastic Cloud SaaS. (If needed, I can share more detailed configuration.)
Provide DebugInformation (if relevant):
I can provide logs and debug output if necessary to help diagnose the issue.