Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Keep Alive
Message
De
03/05/2011 14:55:46
Timothy Bryan
Sharpline Consultants
Conroe, Texas, États-Unis
 
Information générale
Forum:
ASP.NET
Catégorie:
Web Services
Titre:
Versions des environnements
Environment:
C# 3.0
OS:
Windows XP SP2
Divers
Thread ID:
01508801
Message ID:
01509271
Vues:
43
>>
>>Do you understand that a TCP connection would be maintained over time if traffic was continued on some interval?
>
>It was my understanding that all HTTP 1.1 traffic (which almost everyone is using, except maybe some older libraries or you're going through a crappy proxy server or one that isn't configured correctly) is automatically kept alive unless you issue an explicit close in the header to the server. However, it is true that NAT routers maintain an "open" connection that automatically times out after some period of time w/o any activity from either side. I've never tested the set-up time for something like that but I'd bet it's pretty small and is swamped out by things like network latency. Sounds like a useless "optimization" done w/o actually testing it.


Paul,

I tend to agree in that a Service Client should not be trying to worry about somebody elses business, ie the network stuff. There are too many factors the client has no control over. I wonder if MS ever fixed that bug in WCF for Keep Alive/ Reliable Sessions. I believe I will shut the Keep Alive functionality down and do some testing first before deciding.
Thanks
Timothy Bryan
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform