Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re: HTTP persistent connection solutions

by Sewi (Friar)
on Nov 01, 2011 at 09:21 UTC ( [id://935066]=note: print w/replies, xml ) Need Help??


in reply to HTTP persistent connection solutions

HTTP is a request-based protocol, there are no "persistant connections" like they are on SQL, SMTP or FTP (where one connection may handle more than one action).

The HTTP Keep-Alive is some kind of persistant connection, but it's limited in various ways.

  • A client may request Keep-Alive, but neither a intermediate proxy nor the server has to respect this request
  • Servers usually close Keep-Alive connections very quickly (few seconds), because they're blocking valueable server slots.
  • LWP's Keep-Alive should do the job, but there are other participants who might not support or like it.

    • Comment on Re: HTTP persistent connection solutions

    Log In?
    Username:
    Password:

    What's my password?
    Create A New User
    Domain Nodelet?
    Node Status?
    node history
    Node Type: note [id://935066]
    help
    Chatterbox?
    and the web crawler heard nothing...

    How do I use this?Last hourOther CB clients
    Other Users?
    Others exploiting the Monastery: (2)
    As of 2024-04-25 22:06 GMT
    Sections?
    Information?
    Find Nodes?
    Leftovers?
      Voting Booth?

      No recent polls found