Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Keep Alive
Message
From
29/04/2011 12:14:42
 
General information
Forum:
ASP.NET
Category:
Web Services
Title:
Environment versions
Environment:
C# 3.0
OS:
Windows XP SP2
Miscellaneous
Thread ID:
01508801
Message ID:
01508840
Views:
47
Still, keep alive for a web service seems like the wrong solution. Web services are supposed to be stateless. Now we're talking about them keeping state.

>I see quite a number of companies using web services on their intranets, where traffic isn't such an issue.
>
>>Wow. That's alot of work and alot of traffic. Sounds like the original designer didn't understand how web services are supposed to work.
>>
>>>Hi all,
>>>
>>>I am working on an application that uses Web Services for all data access. I am noticing the original developer used a timer to issue a call to the web service as sort of a "Ping" every 10 seconds to keep track if the service is alive. Interestingly they don't really do anything with that when it fails or succeeds. If a required call the web service is made, another Ping call is made to verify the service is available first but again, nothing is done except to throw a handled exception and then retry.
>>>
>>>The performance of this application is poor and I have through using DotTrace narrowed most of it down to the Web Service calls and the slowness has nothing to do with the time it takes for the web service to respond with data.
>>>
>>>My question is why might one need to use any kind of "Keep Alive" on a web service?
>>>Thanks
>>>Tim
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer
Previous
Reply
Map
View

Click here to load this message in the networking platform