8000 Poor performance in .NET 9 compared to .NET Framework 4.8 issuing queries · Issue #640 · SolrNet/SolrNet · GitHub
[go: up one dir, main page]

Skip to content

Poor performance in .NET 9 compared to .NET Framework 4.8 issuing queries #640

@seancullinan31

Description

@seancullinan31

I am seeing far worse performance when issuing queries in .NET 9 when compared to .NET Framework 4.8. In both frameworks the first query I issue takes about 1 second to execute. But in .NET Framework subsequent queries using the connection take a fraction of a second whereas in .NET 9 each subsequent query also takes about 1 second to execute.

I've created a video here that exhibits the problem in it's simplest terms: https://1drv.ms/v/c/43cb1d1838b1f8ea/ETljxLEcDX9AievnCxj6PiQBIndhgdTFtuM4fAmNuBmr0Q

I am running against SOLR 9.5.0. We are converting our project to .NET 9 from .NET Framework 4.8 and this is a pretty major performance regression for us. Any assistance would be appreciated. I suspect that .NET 9's implementation is disconnecting and reconnecting with each query whereas in the .NET FW implementation it is reusing the already connected connection object.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0