Keepalive

Why Trust Techopedia

What Does Keepalive Mean?

A keepalive is a signal sent from one device to another to
maintain a connection between the two devices. This may be between a client and
a server, but it could apply to any number of devices or technologies.
Keepalives are used in network environments to maintain an open communication
pathway, or to regularly check the status of a connection to a remote device.

Advertisements

Techopedia Explains Keepalive

Keepalives are all about keeping a line of communication open. The normal situation is that a connection is made and then closes right away. A keepalive maintains that connection in an active status for a set amount of time.

One way to understand keepalives is to think of a telephone conversation. When speaking to others on the phone, it is customary to avoid long pauses. If there is silence for a while, one may say, “Are you still there?” and wait for an answer. When the other person says, “Yes, I’m still here,” they have kept the conversation alive.

Networks use protocols to set up and maintain conversations between devices. To keep these protocols active – perhaps in order to send more data or to check if a link is still working – a keepalive may be sent at predefined intervals. Keepalives may use configurable parameters, such as frame size, interval between signals, number of retries, and timeouts. Keepalives keep network connections alive.

There are many technologies that use keepalives. TCP keepalive packets check to see if a connection is still valid. HTTP keepalives maintain browser connections while data is being transferred. Keepalives may be used with session interface protocol (SIP), spanning tree protocol (STP), server message block (SMB), transport layer security (TLS), or any number of protocols where network designers may find them useful.

Advertisements

Related Terms

Margaret Rouse
Technology Specialist
Margaret Rouse
Technology Specialist

Margaret is an award-winning writer and educator known for her ability to explain complex technical topics to a non-technical business audience. Over the past twenty years, her IT definitions have been published by Que in an encyclopedia of technology terms and cited in articles in the New York Times, Time Magazine, USA Today, ZDNet, PC Magazine, and Discovery Magazine. She joined Techopedia in 2011. Margaret’s idea of ??a fun day is to help IT and business professionals to learn to speak each other’s highly specialized languages.

',a='';if(l){t=t.replace('data-lazy-','');t=t.replace('loading="lazy"','');t=t.replace(/