Jump to content

correlation between stateless and async


Recommended Posts

I have a generic question which is related to the HTTP protocol (or any other protocol for that matter)

I know that HTTP is stateless.

Does this mean that it is also async ? Is there any correlation between stateless/statefull and async/sync ?

Or are they independent mechanisms ?

Thanks in advance,

Dani

Link to comment
Share on other sites


Independent. You can have both types of HTTP connections, and it is really dependent on what the HTTP call is for - for example, an xmlhttp request over http can be synchronous or asynchronous, depending on how it was written. HTTP will behave as it is told to do so by the client and/or server using the protocol for communication, not to mention the encoding, keep-alive, pipelining, etc.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...