Netlimiter and dotnet 2.0 webservice

Discussion in 'ASP .Net Web Services' started by Stephen Ahn, Feb 4, 2007.

  1. Stephen Ahn

    Stephen Ahn Guest

    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
     
    Stephen Ahn, Feb 4, 2007
    #1
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Charles A. Lackman
    Replies:
    1
    Views:
    1,391
    smith
    Dec 8, 2004
  2. SpamProof
    Replies:
    0
    Views:
    593
    SpamProof
    Oct 21, 2003
  3. Chuck
    Replies:
    3
    Views:
    520
    =?Utf-8?B?UGV0ZXIgQnJvbWJlcmcgW0MjIE1WUF0=?=
    Feb 8, 2007
  4. Alfred Sehmueller
    Replies:
    0
    Views:
    268
    Alfred Sehmueller
    Feb 20, 2004
  5. Arthur Marinis via .NET 247

    Calling a webservice in Dotnet using HTTP-POST and input mime type

    Arthur Marinis via .NET 247, Aug 30, 2004, in forum: ASP .Net Web Services
    Replies:
    0
    Views:
    302
    Arthur Marinis via .NET 247
    Aug 30, 2004
Loading...

Share This Page