Application timeout

Posted on 2017-04-11
Last Modified: 2017-04-19

I have an application that runs on ServerA that needs to make a connection to ServerB.

Both are Windows 2012 Servers.

I had a couple of questions

1. If ServerB was hard down, is there a  standard TCP timeout that applications utilise to confirm this

2. If ServerB was up, but the network path to ServerB was down, is this the same as situation A

3. If ServerB was up, but the network path to B was down, is the TCP response the same?
Question by:alexwhite19800
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2

Expert Comment

by:Fethi ABASSI
ID: 42089454
What is the type of application you wat to use (web or any other app) ?!
are you want to ensure the high availiblity for your app if yes you can use Windows Load Balancer it's a good solution for Layer 4 load balancing
LVL 27

Accepted Solution

masnrock earned 500 total points
ID: 42090257
Overall your answers depend on the application in terms of how things behave. Not all developers properly check for the presence of connectivity, which sometimes will cause the application to outright freeze and never give a report that the connection is no longer present.

1) TCP packets have TTL (time to live) data within them. Once that time runs out, it's understood that the connection is no longer present, regardless of the reason.
2) Yes. All that's known is the packets are unable to reach their destination.
3) If anything is preventing the packets from completely traversing the path and/or allowing acknowledgement packets from getting received, then yes, it is basically all treated the same.

Author Comment

ID: 42096180
Thank you. In relation to the TCP TTL, would you agree it's based on the source OS and the figures are:

So if Server A is a Windows 2008 Server, the TTL for the packet would be 128ms?
LVL 27

Expert Comment

ID: 42096187
The default would be 128 seconds, which is just over 2 minutes.

Featured Post

Free eBook: Backup on AWS

Everything you need to know about backup and disaster recovery with AWS, for FREE!

Join & Write a Comment

Suggested Solutions

Most of the applications these days are on Cloud. Cloud is ubiquitous with many service providers in the market. Since it has many benefits such as cost reduction, software updates, remote access, disaster recovery and much more.
The Windows functions GetTickCount and timeGetTime retrieve the number of milliseconds since the system was started. However, the value is stored in a DWORD, which means that it wraps around to zero every 49.7 days. This article shows how to solve t…
This tutorial will walk an individual through the process of installing the necessary services and then configuring a Windows Server 2012 system as an iSCSI target. To install the necessary roles, go to Server Manager, and select Add Roles and Featu…
With the advent of Windows 10, Microsoft is pushing a Get Windows 10 icon into the notification area (system tray) of qualifying computers. There are many reasons for wanting to remove this icon. This two-part Experts Exchange video Micro Tutorial s…

756 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question