Understanding IIS performances for web services.

Discussion in 'ASP .Net Web Services' started by Marco, Feb 26, 2004.

  1. Marco

    Marco Guest

    Hello there!

    I'm running IIS 5.0 on a Win2K Advanced Server system which will offer
    access to some advanced calculators through a web service interface
    (there's no web site on the system, just web services).

    In order to profile the connection time I've written a simple program
    which opens a socket with the server, sends an HTTP message containing
    a SOAP request (for a method which multiplies its two double
    arguments) and fetches the result.

    Interestingly enough I've noticed that the server seems to be
    responding to the first call much faster than to the following ones.
    Example output:

    <pre>
    Result = 12.000000 - Received in 0.022101 secs.
    Result = 12.000000 - Received in 0.203185 secs.
    Result = 12.000000 - Received in 0.201810 secs.
    Result = 12.000000 - Received in 0.199868 secs.
    Result = 12.000000 - Received in 0.205943 secs.
    Result = 12.000000 - Received in 0.210548 secs.
    Result = 12.000000 - Received in 0.209605 secs.
    Result = 12.000000 - Received in 0.209832 secs.
    Result = 12.000000 - Received in 0.210073 secs.
    Result = 12.000000 - Received in 0.201541 secs.

    Avg. response time: 0.187451 out of 10 sims.
    </pre>

    (the client is running on a Unix system; time is measured by
    gettimeofday)

    The behaviour persists no matter whether connections are kept alive or
    closed everytime and no matter whether sockets are preserved ore
    uniquely assigned to following requests.

    Any suggestions? Any useful reading concerning web sevice performance
    optimization?

    Cheers

    -- Marco --
    Marco, Feb 26, 2004
    #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. Steve B.

    Globalization and performances

    Steve B., Aug 18, 2004, in forum: ASP .Net
    Replies:
    1
    Views:
    309
  2. Finder

    Performances de l'import

    Finder, Apr 19, 2006, in forum: Java
    Replies:
    1
    Views:
    368
    Monique Y. Mudama
    Apr 19, 2006
  3. vincent delft
    Replies:
    2
    Views:
    329
    Thomas Guettler
    Nov 15, 2004
  4. antoine
    Replies:
    8
    Views:
    423
    Eric Sosman
    Nov 30, 2006
  5. Replies:
    6
    Views:
    534
    =?UTF-8?B?QXJuZSBWYWpow7hq?=
    Apr 28, 2007
Loading...

Share This Page