all groups > dotnet web services > october 2005 >
You're in the

dotnet web services

group:

Speed up the first call


Speed up the first call markoZ
10/28/2005 9:16:04 AM
dotnet web services:
Hi.

We have developed a .NET web service. The service executes a SQL on the SQL
server. The first call of the webservice takes very long but the other calls
dont.

Why is that and how can we speed that up?

Regards,

RE: Speed up the first call stcheng NO[at]SPAM online.microsoft.com
10/31/2005 12:00:00 AM
Hi Marko,

Welcome to MSDN newsgroup.
Regarding on the ASP.NET Webservice, it is just the same as asp.net
webpages which use on-demand dynamic compilation(cause slow response at the
first method call). In the current version, we haven't buildin options to
make the dynamic compilation auto completed, if you'd like you can manually
use some script code which always automatically request the webservice
after the application/server process restart..... Also, if you're using
IIS6, you can specify the process's recycle timeout after idle time in IIS
manager so as to prevent the webservice asp.net process being
recycled(avoid service being dynamically compiled after restart).

In addition, in ASP.NET2.0 it provide precompiled deployment model which
can help us precompiled the whole asp.net web site as to make startup time
improvement.

Thanks,

Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)






--------------------
Thread-Topic: Speed up the first call
thread-index: AcXb2uVFMy+zjl66QYufHEPq+SHFcQ==
X-WBNR-Posting-Host: 213.161.9.11
From: =?Utf-8?B?bWFya29a?= <MarkoZ@community.nospam>
Subject: Speed up the first call
Date: Fri, 28 Oct 2005 09:16:04 -0700
Lines: 11
Message-ID: <1C87DC16-F9FE-4991-BB97-9F72BDDDE2BC@microsoft.com>
MIME-Version: 1.0
Content-Type: text/plain;
charset="Utf-8"
Content-Transfer-Encoding: 7bit
X-Newsreader: Microsoft CDO for Windows 2000
Content-Class: urn:content-classes:message
Importance: normal
Priority: normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0
Newsgroups: microsoft.public.dotnet.framework.webservices
NNTP-Posting-Host: TK2MSFTNGXA03.phx.gbl 10.40.2.250
Path: TK2MSFTNGXA01.phx.gbl!TK2MSFTNGXA02.phx.gbl!TK2MSFTNGXA03.phx.gbl
Xref: TK2MSFTNGXA01.phx.gbl
microsoft.public.dotnet.framework.webservices:8404
X-Tomcat-NG: microsoft.public.dotnet.framework.webservices

Hi.

We have developed a .NET web service. The service executes a SQL on the SQL
server. The first call of the webservice takes very long but the other
calls
dont.

Why is that and how can we speed that up?

Regards,

RE: Speed up the first call Guna Govind
10/12/2006 4:23:01 PM
thanks Steven. I do have a simillar problem. In my case the Web Service is
not getting the "OnMesssageReceived" method called when the incoming message
is at 90+ seconds intervel. Ie. if i send messages well within 90 seconds
the web service receivs the messages. If the message interval is morethan 90
seconds, it never receiv the message...

thanks for any help.


-Guna Govind


[quoted text, click to view]
AddThis Social Bookmark Button