asp.net - Singleton issue of provider model -
is singleton requirement of provider performance hit ? because database read/write opertions must taking place through singleton. wouldnt issue multiple users doing read/write operation in site blogger.
you should definitly use connection pool, , limit max number of connections 200 depending on hardware , traffic.
http://ondotnet.com/pub/a/dotnet/2004/02/09/connpool.html
const string connstring = "server=localhost;" + "uid=user;" + "pwd=secret;" + "database=northwind;" + "min pool size=50;" + "max pool size=200";
further tips regarding performance:
Comments
Post a Comment