473,407 Members | 2,629 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,407 software developers and data experts.

Web service slow the first time

Hope everybody is doing OK.

I have a webservice which I request via https://. I'm also using WSE to
generate an authenticated token.

I understand that the very first call to the webservice is slow because the
webservice needs to JIT. But I've noticed that after a period of time, when
the webservice is not being used, the request is slow again (only the first
time) and then subsequent requests are responded faster. It's like it went
to sleep and needs to be awake in order to respond to the request faster.

I've used webservices before and I never experience this behavior. Any
ideas why this could be happenning???

Maybe related to https:// or WSE???

Thanks in advance for any input.

Marlene

Sep 22 '06 #1
3 2603
check the iis application pool you are using. you can change the timeout on
the recycling of the pool. maybe that is what you are seeing.

"Marlene A. Roman" <so***@heat.comwrote in message
news:O1**************@TK2MSFTNGP06.phx.gbl...
Hope everybody is doing OK.

I have a webservice which I request via https://. I'm also using WSE to
generate an authenticated token.

I understand that the very first call to the webservice is slow because
the
webservice needs to JIT. But I've noticed that after a period of time,
when
the webservice is not being used, the request is slow again (only the
first
time) and then subsequent requests are responded faster. It's like it went
to sleep and needs to be awake in order to respond to the request faster.

I've used webservices before and I never experience this behavior. Any
ideas why this could be happenning???

Maybe related to https:// or WSE???

Thanks in advance for any input.

Marlene



Sep 22 '06 #2
I'm using the default DefaultAppPool, should I create a separate one for my
webservice???????

"Marlene A. Roman" wrote:
Hope everybody is doing OK.

I have a webservice which I request via https://. I'm also using WSE to
generate an authenticated token.

I understand that the very first call to the webservice is slow because the
webservice needs to JIT. But I've noticed that after a period of time, when
the webservice is not being used, the request is slow again (only the first
time) and then subsequent requests are responded faster. It's like it went
to sleep and needs to be awake in order to respond to the request faster.

I've used webservices before and I never experience this behavior. Any
ideas why this could be happenning???

Maybe related to https:// or WSE???

Thanks in advance for any input.

Marlene

Sep 22 '06 #3
you can, but you don't have to. if you had multiple services you may want
to give it more consideration, but for a single one, unless it needs some
strange settings, you can just use the default.

"Marlene" <Ma*****@discussions.microsoft.comwrote in message
news:07**********************************@microsof t.com...
I'm using the default DefaultAppPool, should I create a separate one for
my
webservice???????

"Marlene A. Roman" wrote:
>Hope everybody is doing OK.

I have a webservice which I request via https://. I'm also using WSE to
generate an authenticated token.

I understand that the very first call to the webservice is slow because
the
webservice needs to JIT. But I've noticed that after a period of time,
when
the webservice is not being used, the request is slow again (only the
first
time) and then subsequent requests are responded faster. It's like it
went
to sleep and needs to be awake in order to respond to the request faster.

I've used webservices before and I never experience this behavior. Any
ideas why this could be happenning???

Maybe related to https:// or WSE???

Thanks in advance for any input.

Marlene


Sep 22 '06 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

12
by: Neil | last post by:
I previously posted re. this, but thought I'd try again with a summary of facts. I have an Access 2000 MDB with a SQL Server 7 back end. There is a view that is linked to the database via ODBC...
8
by: murphy | last post by:
I'm programming a site that displays info from AWS Commerce Service 4.0. At each change of the asp.net application the first load of a page that uses the web service takes 30 seconds. Subsequent...
6
by: B B | last post by:
Okay, here is what's happening: I have a reasonably fast laptop (1.4 GHz Mobile M, so comparable to 2.5GHz P4) doing .net development. Running Windows XP pro, SP2 IIS is installed and running...
4
by: magne.bergfjord | last post by:
I am new to web services, and wonder if it is possible to have a web service run all time and start the constructor before anyone calls any web method. My problem is that a lot of data is read in...
0
by: Jonathan King | last post by:
I have a web service, that until recently ran very quickly every time it was called, first call included. Now, the first time it is called, it is very slow and subsequent calls are normal. The...
1
by: lowlyscrub | last post by:
I have an ASP.NET application that makes 12 different web service calls from a single method call. Each of the web services themselves don't do much more than run a small query (I've run the...
1
by: ssaini | last post by:
Hi, I am consuming a java web service in .NET C# smart client, which is based upon Microsoft's SCSF application block.The SCSF is a wrapper over WinForms. When I make a call to any of the Java...
9
by: Ryan Liu | last post by:
Hi, I use C# wrote an Client/Server application. In production environment, will be 130 clients (Windows XP) connect to a Server (Windows 2000/2003 Server) thought TCP/IP socket in a local 100M...
2
by: =?Utf-8?B?SmltIE93ZW4=?= | last post by:
Hi John, Hopefully this post will find its way back to you - or perhaps be answered by someone else. As I mentioned in my last post on the earlier portion of this thread, changing the...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.