Consider a classic ASP site running on IIS6 with a dedicated SQL Server 2008 server ...
Scenario 1:
Open connection
Perform 15 queries, updates, etc. Via ASP page
Close connection
Scenario 2:
For each request, update, etc. open and close the connection
When pooling, my money will be the most efficient and scalable in Scenario 2.
Would I be right in this assumption?
Edit: Additional Information
These are database operations that apply to many asp-code in separate functions, performing individual actions, etc. These are not 15 queries executed quickly. Think of a large site with many features, including etc.
source share