Netlimiter and dotnet 2.0 webservice

S

Stephen Ahn

Hi,

Consider the following test web method :

[WebMethod]
public byte[] GetRandomBytes(int len)
{
Random rr = new Random();

byte[] bb = new byte[len];
rr.NextBytes(bb);
return bb;
}

Two scenarios :
1) compile windows client and web service in VS 2003 (dotnet 1.1).
2) compile windows client and web service in VS 2005 (dotnet 2.0).

When Netlimiter is NOT used, the web method call in scenario 2 is
consistently faster (about 20-30%) than for scenario 1.
i.e. the dotnet 2.0 version of the client and server are faster than the
same code compiled under dotnet 1.1.

When Netlimiter IS used to limit the download rate, the dotnet 2.0 version
becomes consistently about 20% slower than the dotnet 1.1 version.

Has anyone else seen this sort of behaviour with Netlimiter (I'm using
version 1.3) ?

TIA,
Stephen
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,995
Messages
2,570,230
Members
46,817
Latest member
DicWeils

Latest Threads

Top