J
J. L. Goddard
Suppose I were designing a web service to accept many data transactions
per second and put them into a sql server database.
What design recommendations would you make ?
For examply, should I use the Context.Util transaction binding?
What about SOAPMethod in the WebMethod? Should I go with the default,
or add extra code here?
How about the SqlConnection ?
Should I establish a global SqlConnection in global.asax and use that
for all transactions?
Should I open and close a SqlConnection for each call of the web method?
If I am inserting all these records into a Sql table, is there a way to
pool them up somehow so there are not a million SqlConnections opening
and closing?
Is there a way to combine the INSERTS so that there are not a million
INSERT statements on the SQL server ?
per second and put them into a sql server database.
What design recommendations would you make ?
For examply, should I use the Context.Util transaction binding?
What about SOAPMethod in the WebMethod? Should I go with the default,
or add extra code here?
How about the SqlConnection ?
Should I establish a global SqlConnection in global.asax and use that
for all transactions?
Should I open and close a SqlConnection for each call of the web method?
If I am inserting all these records into a Sql table, is there a way to
pool them up somehow so there are not a million SqlConnections opening
and closing?
Is there a way to combine the INSERTS so that there are not a million
INSERT statements on the SQL server ?