Persistent and no persistent connections, Computer Networking

Persistent and No persistent Connections

HTTP can use  both  persistent  and non persistent connection. By defaults  uses persistent  connections.

Persistent Connections

HTTP persistent  connection also called HTTP keep alive or HTTP connection reuses is the idea  of using the same TCP connection to send and receive multiple HTTP  request / responses  as opposed  to opening a new one for every single  request/ response  pair using persistent  connections  is very  important  for improving HTTP performance.

HTTP  specifies  a persistent connection by  default. With persistent  connection  the server leaves the TCP connection open after sending a response. Subsequent  request an denture web page can be sent over a single persistent TCP connection moreover multiple web pages residing on the same server can be sent  from the server to  same  client over a single persistent TCP connection. The HTTP server close  a connection  when  it isn't  used for  certain  time ( a configurable time out interval).

These  are several advantages of using  persistent  connections including:

a.Network  friendly  less network  traffic due  to fewer setting up  and tearing down of  TCP connections.

b.Reduced latency on subsequent  request. Due to avoidance of initial TCP handshake.

c.Long lasting  connection allowing TCP sufficient time to determine  the congestion  state  of the network  thus to  react appropriately.

There  are two  versions  of persistent  connections.

 

Posted Date: 3/6/2013 11:54:48 PM | Location : United States







Related Discussions:- Persistent and no persistent connections, Assignment Help, Ask Question on Persistent and no persistent connections, Get Answer, Expert's Help, Persistent and no persistent connections Discussions

Write discussion on Persistent and no persistent connections
Your posts are moderated
Related Questions
What is difference among ARP and RARP? The address resolution protocol (ARP) is used to associate the 32 bit IP address with the 48 bit physical address, used by a host or a ro

What is the difference between routable and non- routable protocols? Routable protocols can work with a router and can be used to make huge networks. Non-Routable protocols

Describe at one disadvantage of a peer to peer network. When you are accessing the resources that are shared by one of the workstations on the network, that workstation takes


IMPORTANT: The web server should be able to serve HTTP files only. You will not need to implement the directory listing and CGI-bin. Purpose The objective is to implement a H

Future of the intranet At present, the world of information technology is guided bythe C 3 paradigm that stands for Command, Control and Communication, which is normally

Normal 0 false false false EN-IN X-NONE X-NONE MicrosoftInternetExplorer4

Simplicity The advantage of this approach is the simplicity  of receiver buffering. The  receiver need not  buffer out of  order packets the sender must maintain the upper an

Initialization  Imagine that  all routers in our  sample internetwork  comes up  at the  same time. Each router sends a greeting packet to its  neighbours to find  out the  sta

What are the key elements of protocols? The key elements of protocols are a. Syntax   It refers to the structure or format of the data that is the order in which they a