This is a theoretical question, I would appreciate some feedback from experts for a web application served in IIS 7.5
I have a DAO layer, written in C#. In the MVC controller, when you are expecting heavy load is it better to create an instance of the DAO when the controller is created and then reuse that same instance in every method or is it better to create an instance of the DAO in each method?
The DAO does create a new connection to the database when it is created. Every method in the DAO also checks the status of the connection, if it isn't open, it re-initializes the connection.