Understanding Persistent and Non-persistent HTTP Connections

UE23CS252B: Lab_2

Name: Nathan Matthew Paul SRN: PES2UG23CS368 Section: 4F

Question

Create a web page with 10 embedded images. Each image should be of minimum 2 MB size. Configure your browser (Firefox) with following settings (each setting requires repeat of experiment).

  • Non persistent connection
  • 2 persistent connections
  • 4 persistent connections

Images (client)

No Persist

Persist

max limit: 2

max limit: 4


Observation

Trial NoStart TimeEnd TimeDiff
P0 (no persist)0.0010909670.2502377500.249146783
P20.0167693270.2401964790.223427152
P40.0203819280.1106214730.090239545

Conclusion

As the limit of maximum persistent connections increases, the time taken to load the images on the client reduces. For 10 images, the best configuration is 4 persistent connections, as it achieves the fastest load time while utilizing efficient HTTP connection management.