Blog Post

Azure Database Support Blog
1 MIN READ

Lesson Learned #155: Timeout period elapsed prior to obtaining a connection from the pool.

Jose_Manuel_Jurado's avatar
Dec 11, 2020

Connection pooling is one of the best practices that we could implement in our code due to improvement in the time spent establishing the connection. However, if we are not aware about it, we may have connectivity issues that may not be related with database service and may be related how our application closes the connection in case of any error, error handling or server client infraestructure level. 

 

In this YouTube session(below) we reviewed three important points when the connection pooling is enabled: 

 

  • The impact establishing the connection time spent to our Azure SQL database/server.
  • What is the reason about a typical error when we reached the maximum limit of the connection pooling - Timeout period elapsed prior to obtaining a connection from the pool.
  • How to obtain connectivity pooling metrics to know how many connections, many connections pool, etc.. 

 

 

Enjoy!

Updated Feb 23, 2023
Version 5.0
No CommentsBe the first to comment