Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6611669
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T19:59:57+00:00 2026-05-25T19:59:57+00:00

I am reading that Keep-Alives is meant for performance – so that no connections

  • 0

I am reading that Keep-Alives is meant for performance – so that no connections need to be recreated but just reuse the existing ones. What if there is a traffic spike, will new connections be created?

Additionally, if I don’t turn on Keep-Alive and in a high traffic environment, will it eventually running out of connections/socket port on client side? because a new connection has to be created for each http/web request.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-25T19:59:58+00:00Added an answer on May 25, 2026 at 7:59 pm

    HTTP is a stateless protocol.
    In HTTP 1.0 each request meant opening a new TCP connection.
    That caused performance issues (e.g. have to re-do the 3-way handshake for each GET or POST) so the Keep-Alive Header was added to maintain the connection across requests and in HTTP1.1 the default is persistent connection.
    This means that the connection is reused across requests.
    I am not really familiar with IIS but if there is a configuration to close the connection after each HTTP response, it will have impact on the performance.
    Concerning the running out of sockets/ports on the client side, that could occur if the client fires a huge amount of requests and a new TCP connection must be opened per HTTP request.
    After a while the ports will be depleted

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I keep reading that to make ajax requests safe, I need to make sure
I keep reading that SQL Azure doesn't support relational databases; however, I just tapped
I keep reading everywhere that CSS is not case sensitive, but I have this
I keep reading that in order for one to perform integer/floating point division on
I keep reading that object-oriented programming can basically be done in any programming language,
I have been reading that using HibernateDaoSupport isn't a good idea, so I need
I may be crazy, but I thought I remember reading that OnLoginError produces a
I keep reading that an ASP.NET based web site should have custom errors enabled
I keep reading about ping/pong messages in websockets to keep the connection alive, but
Is the current Scala Eclipse plugin ( http://www.scala-lang.org/node/94 ) usable? I keep reading that

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.