Re: Web Service Performance
From: Steve Drake (Steve_at__NOSPAM_.Drakey.co.uk)
Date: 01/29/05
- Next message: Matt Berther: "Re: NameValueCollection's GetValues does not return multiple entries"
- Previous message: Vagif Abilov: "Re: NameValueCollection's GetValues does not return multiple entries"
- In reply to: mterzich: "Re: Web Service Performance"
- Messages sorted by: [ date ] [ thread ]
Date: Sat, 29 Jan 2005 19:04:36 -0000
serialization is quite fast, except runtime serialization on objects like
datasets.
When request is made, it goes through (i may be wrong with some of these
steps but you will get the picture) HTTP as a POST, IIS passes this to
ASP.NET, ASP.NET runs your CODE, your CODE returns data, the DATA is
serialized as sent to the requestor via HTTP the requestor desterilizes the
OBJECT.
if you want to test serialization on its own, you could do some tests,
also..... web service in general scale better, eg one request may seam slow
but when you start adding load its starts to perform very well compared to
other remote methods.
but..... you should not use SOAP on the same server? why would you do this?
Steve
"mterzich" <mterzich@discussions.microsoft.com> wrote in message
news:0AA869D8-6C70-463E-A31F-CFB7D55FBAB8@microsoft.com...
> If your saying the wire shouldn't be much of an issue, then the
> serialization/deserialization must be the poorest written code ever since
it
> adds between 1/4 and 1/2 second to the operation to transmit and receive
a
> 4KB to 8KB data set. To me a poorly wtitten serialization/deserialization
> operation shouldn't take more than 5 ms on a 3.0 giga hertz P4 machine. It
> still sounds like it is the wire since I'm still in testing on my Windows
> 2000 Pro which is on a cable modem with 3.0Mb/128Kb external speed. At the
> 128Kb upload speed (about 12KB), that would explain the extra 1/4 to 1/2
> second.
>
> "ranjan.listserv@gmail.com" wrote:
>
> > On Fri, 28 Jan 2005 21:59:01 -0800, mterzich wrote:
> >
> > > Since I am using localhost in the url, I would think that the
performance
> > > shouldn't be greatly affected by line speed or is the transfer speed
limited
> > > by the line speed even though it is internal? Any ideas why there
would be
> > > such a great difference in performance between the direct API call and
the
> > > http call?
> >
> > Serialization + wire(normally not noticable for a localhost address) +
> > Deserialization
> > --
> >
> >
> > http://dotnetjunkies.com/weblog/dotnut
> >
- Next message: Matt Berther: "Re: NameValueCollection's GetValues does not return multiple entries"
- Previous message: Vagif Abilov: "Re: NameValueCollection's GetValues does not return multiple entries"
- In reply to: mterzich: "Re: Web Service Performance"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|