Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Do you check connection on every call to SQL?
Message
De
05/03/2012 20:33:33
 
 
À
05/03/2012 20:13:05
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Versions des environnements
SQL Server:
SQL Server 2008
Divers
Thread ID:
01537347
Message ID:
01537351
Vues:
44
You pretty much have to do it that way in a web app because it's stateless.


>I have Web sites with considerable amount of traffic and we hit SQL Server several millions times a week. With an enhance design since a while, I open and close the connection at every hit. SQL Server provides connection pooling. So, this is instant. There is no need to keep a connection alive. At least, from several infrastructures I have been supporting, either at Web, desktop or Web Service applications, this is the way I do it.
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform