Re: How to eliminate delay making first call to a webservice?
- From: Andy <andyj@xxxxxxxxxxxxxxxxxx>
- Date: 30 Apr 2007 12:07:21 -0700
On Apr 30, 2:57 pm, DaveOnSEN <anonym...@xxxxxxxxxx> wrote:
Every time I make any .NET framework based webservice consumer I have
the same problem: The first call my application makes to consume a
webservice takes about 15 seconds. Subsequent calls are very fast.
What is happening during this initial delay, and is there anything I can
do to fix this so my applications start up quickly?
For example, typically the first call to consuming a webservice is some
sort of 'login / authenticate' function. The user puts in a username
and password and clicks ok. 15 seconds go by, now user is logged in and
gets a screen populated with data. The call for the data is instant,
whereas the call to login is slow. This is the same no matter what
applications I use, all .net framework applications that consume
webservices that I have seen so far have this problem.
Is there a fix / workaround?
You might want to ask this in an asp.net forum, you may get better
answers. Basically, you're running into how IIS recycles the asp.net
worker process. You may need to adjust this so that process isn't
recycled as often.
.
- Follow-Ups:
- Re: How to eliminate delay making first call to a webservice?
- From: Page Brooks
- Re: How to eliminate delay making first call to a webservice?
- References:
- How to eliminate delay making first call to a webservice?
- From: DaveOnSEN
- How to eliminate delay making first call to a webservice?
- Prev by Date: Re: "Use of unassigned local variable" error
- Next by Date: Re: Is there a debug.print in CSharp?
- Previous by thread: How to eliminate delay making first call to a webservice?
- Next by thread: Re: How to eliminate delay making first call to a webservice?
- Index(es):
Relevant Pages
|