question

dbasean avatar image
dbasean asked

Connnection surge causes performance problems

When our infrastructure is scaled up by adding servers it causes a surge in new connections to the SQL Servers. We can get 5000 or more new connections in seconds. This causes the databases to become unresponsive. Can anyone offer some advice on how to alleviate this problem?

We have alerting, so are warned when the issue arises.

Thanks in advance.

performanceconnection-pool
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

·
ThomasRushton avatar image
ThomasRushton answered

There is overhead associated with creating a connection on the SQL Server itself, so... more CPUs, more RAM, faster disk, faster network connection between your SQL Server and your domain controller (if you're using AD-authenticated accounts to connect)...

And then there may be some possibilities if you rework your application / system - look up "connection pooling" for example.

Without more detail of your environment and what's going on, though, it's going to be difficult to make specific recommendations.

10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.