M
Mark B
I have a website (WebsiteA) ASP.NET (VB) and its webservice
(WsAddNewTransaction) hosted on a shared server at www.serverintellect.com.
SQL 2005 backend database there too.
I have another website (WebsiteB) hosted there as well which I have been
using to test the webservice buy consuming WsAddNewTransaction.
I created an aspx page with a loop to consume the webservice 100 times:
'----------------------------------------------------------------
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs)
Handles Me.Load
Dim strText As String = ""
Dim dtStart As DateTime = Now
'----------- fTransactionAdd() returns 'OK' if webservice
consumption successful
For i As Integer = 1 To 100
strText += fTransactionAdd() + " "
Next
Dim dtEnd As DateTime = Now
Dim tpDifference As TimeSpan = (dtEnd - dtStart)
Label1.Text = strText + vbCrLf + "Time Taken: " +
tpDifference.ToString
End Sub
'----------------------------------------------------------------
On average it reports back around 14-15 seconds to do it.
The webservice itself does these things:
- Runs a stored procedure to INSERT around 30 fields into a transactions
table in the SQL database.
- Creates a new thread to email the transaction owner and associate person
- Returns 'OK' if successful.
My question is:
It is possible that the webservice would need to be consumed around 400-600
times per second in total by various external clients. Yes -- relatively
high volume and relatively big database.
If I went to a dedicated server with www.serverintellect.com, would that be
enough to handle that sort of volume? What other things would need to be
done?
(WsAddNewTransaction) hosted on a shared server at www.serverintellect.com.
SQL 2005 backend database there too.
I have another website (WebsiteB) hosted there as well which I have been
using to test the webservice buy consuming WsAddNewTransaction.
I created an aspx page with a loop to consume the webservice 100 times:
'----------------------------------------------------------------
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs)
Handles Me.Load
Dim strText As String = ""
Dim dtStart As DateTime = Now
'----------- fTransactionAdd() returns 'OK' if webservice
consumption successful
For i As Integer = 1 To 100
strText += fTransactionAdd() + " "
Next
Dim dtEnd As DateTime = Now
Dim tpDifference As TimeSpan = (dtEnd - dtStart)
Label1.Text = strText + vbCrLf + "Time Taken: " +
tpDifference.ToString
End Sub
'----------------------------------------------------------------
On average it reports back around 14-15 seconds to do it.
The webservice itself does these things:
- Runs a stored procedure to INSERT around 30 fields into a transactions
table in the SQL database.
- Creates a new thread to email the transaction owner and associate person
- Returns 'OK' if successful.
My question is:
It is possible that the webservice would need to be consumed around 400-600
times per second in total by various external clients. Yes -- relatively
high volume and relatively big database.
If I went to a dedicated server with www.serverintellect.com, would that be
enough to handle that sort of volume? What other things would need to be
done?