Saturday, March 24, 2012

Trouble testing with ACT and ASP.NET

(sorry, I am just having trouble getting my Universal MSDN subscription news
group email address hooked up so MSFT responds so I am reposting hoping it i
s now setup right)
Here is our scenario:
.asmx web service on server 1 (Windows 2003)
on server 2 (Windows 2000), we run ACT with 100 concurrent users calling an
ASP that uses a COM+ VB6 DLL SOAPing to .asmx file. We read 100 concurrent r
equests in ASP.NET Requests Current on server 1.
on server 2, we run a .NET Console app that SOAPs to the .asmx file. We have
it looping continuously making the same call. We open about twelve instance
s of the console. We read a varying number of concurrent requests but we see
values in the 20's.
on server 2, we run a .aspx web form that SOAPs to the .asmx file. We run AC
T with 100 concurrent users. We consistently see only 4-5 concurrent request
s on server 1.
Is there some configuration of web or machine.config we are missing?
Thanks!This may help
http://msdn.microsoft.com/library/d...ice07222003.asp
Michael
This posting is provided "AS IS" with no warranties, and confers no rights.
<fm@.newsgroups.nospam> wrote in message
news:C670EE88-C76B-4661-B8B5-5C6C8A2AF2FE@.microsoft.com...
> (sorry, I am just having trouble getting my Universal MSDN subscription
> newsgroup email address hooked up so MSFT responds so I am reposting
> hoping it is now setup right)
> Here is our scenario:
> .asmx web service on server 1 (Windows 2003)
> on server 2 (Windows 2000), we run ACT with 100 concurrent users calling
> an ASP that uses a COM+ VB6 DLL SOAPing to .asmx file. We read 100
> concurrent requests in ASP.NET Requests Current on server 1.
> on server 2, we run a .NET Console app that SOAPs to the .asmx file. We
> have it looping continuously making the same call. We open about twelve
> instances of the console. We read a varying number of concurrent requests
> but we see values in the 20's.
> on server 2, we run a .aspx web form that SOAPs to the .asmx file. We run
> ACT with 100 concurrent users. We consistently see only 4-5 concurrent
> requests on server 1.
> Is there some configuration of web or machine.config we are missing?
> Thanks!
>
see answer to your previous post
<fm@.newsgroups.nospam> wrote in message
news:C670EE88-C76B-4661-B8B5-5C6C8A2AF2FE@.microsoft.com...
> (sorry, I am just having trouble getting my Universal MSDN subscription
newsgroup email address hooked up so MSFT responds so I am reposting hoping
it is now setup right)
> Here is our scenario:
> .asmx web service on server 1 (Windows 2003)
> on server 2 (Windows 2000), we run ACT with 100 concurrent users calling
an ASP that uses a COM+ VB6 DLL SOAPing to .asmx file. We read 100
concurrent requests in ASP.NET Requests Current on server 1.
> on server 2, we run a .NET Console app that SOAPs to the .asmx file. We
have it looping continuously making the same call. We open about twelve
instances of the console. We read a varying number of concurrent requests
but we see values in the 20's.
> on server 2, we run a .aspx web form that SOAPs to the .asmx file. We run
ACT with 100 concurrent users. We consistently see only 4-5 concurrent
requests on server 1.
> Is there some configuration of web or machine.config we are missing?
> Thanks!
>
This article did help. I put the following into Web.Config of the client ASP
X
that calls the Web Service:
<system.net>
<connectionManagement>
<add address="*" maxconnection="40" />
</connectionManagement>
</system.net>
<system.web>
We modified this number and did a few tests. We tried 60, 40 and 20. All
were better then the default of 2. 40-20 seemed the best range. We checked
time to first byte, current ASP.NET requests and server CPU usage.
We went looking for why this 2 connection limit and we found this blog:
http://odetocode.com/Blogs/scott/ar...06/08/272.aspx. So I think we
feel very comfortable in changing this value.
We may also look at calling the web service asynchronously as the article
you provided suggests.
Thanks for the help.
"Michael O'Donovan [MSFT]" wrote:

> This may help
> http://msdn.microsoft.com/library/d...ice07222003.asp
> Michael
> --
> This posting is provided "AS IS" with no warranties, and confers no rights
.
> <fm@.newsgroups.nospam> wrote in message
> news:C670EE88-C76B-4661-B8B5-5C6C8A2AF2FE@.microsoft.com...
>
>

0 comments:

Post a Comment