hello.
when i call same web service many times, the first invoke takes too long time.
i don't know why. actually, i'm researching composite web services and its
performance, so this problem is really important to me.
i guess some kind of cache is being created somewhere, client side or.....
could somebody provide me good information on this?
Drew Marsh - 17 Nov 2004 15:04 GMT
> when i call same web service many times, the first invoke takes too
> long time.
[quoted text clipped - 4 lines]
> or.....
> could somebody provide me good information on this?
Just the first time? There's a bunch of reasons it could be slower the first time, but here's the top three that I can think of:
1. If client code is .NET, it has not yet JIT'd
2. If server side code is .NET, it may not have been JIT'd yet
3. TCP/IP connection needs to be established
My guess is you're getting bit by #1 and/or #2. #3 might have to happen every time anyway depending on what protocol you're using, but if it's HTTP it depends on whether or not keep-alive is enabled.
HTH,
Drew