Skip to content

Connecting to many different instances #513

Closed
@ATofler-Quest

Description

Hello,
I would like to consult about a special case of connecting multiple different databases.
We are building a system using Azure Function.
Each minute our system connects to many different SQL Azure instances.

So I don't see a reason to use connection pooling because every time we connect to the SQL azure it will be from different processes of azure function.
So we set pooling attribute to be false.
Then we got the following error:
"Timeout attempting to open the connection. The time period elapsed prior to attempting to open the connection has been exceeded. This may have occurred because of too many simultaneous non-pooled connection attempts."

If we don't use connection pool why we weren't able to open a connection?
What approaches do you suggest in this case?

BTW, we use Microsoft.Data.SqlClient(1.1.0) with .NET core 2.2

Thank

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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