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:

http://msdn.microsoft.com/en-us/magazine/cc163854.aspx


Comments

Popular posts from this blog

c++ - Convert big endian to little endian when reading from a binary file -

C#: Application without a window or taskbar item (background app) that can still use Console.WriteLine() -

unicode - Are email addresses allowed to contain non-alphanumeric characters? -