Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Design and Architecture
  4. Stateless server definition

Stateless server definition

Scheduled Pinned Locked Moved Design and Architecture
questiondatabasecomsysadmindiscussion
7 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    AikinX
    wrote on last edited by
    #1

    Hi, Everyone. Can someone describe me what is the "stateless server"? My thoughts (I still want to get an explanation about the term above): I asked google[^]. The best definition I found is "A stateless server considers each page request independently". So, I think, the main accent is that the stateless server doesn't do any differences between users' requests. It thinks like every request is a new, from a new user. Let's imagine a google search server that only search functionality, a very-very simple search functionality: just go to an "indexed sites DB" for results. Is that one a stateless? I think -- yes. Because it doesn't bother itself with questions: "Is that user a new, what he did last time,...". It just parses the request, goes to the DB and answers. It uses no information about last requests, so "considers each page request independently". Am I right? Thanks, Aikin

    L A 2 Replies Last reply
    0
    • A AikinX

      Hi, Everyone. Can someone describe me what is the "stateless server"? My thoughts (I still want to get an explanation about the term above): I asked google[^]. The best definition I found is "A stateless server considers each page request independently". So, I think, the main accent is that the stateless server doesn't do any differences between users' requests. It thinks like every request is a new, from a new user. Let's imagine a google search server that only search functionality, a very-very simple search functionality: just go to an "indexed sites DB" for results. Is that one a stateless? I think -- yes. Because it doesn't bother itself with questions: "Is that user a new, what he did last time,...". It just parses the request, goes to the DB and answers. It uses no information about last requests, so "considers each page request independently". Am I right? Thanks, Aikin

      L Offline
      L Offline
      led mike
      wrote on last edited by
      #2

      AikinX wrote:

      Am I right?

      Your statements are to specific. Stateless[^] In computer science, stateless refers to a system or protocol which does not keep a persistent state between transactions.

      led mike

      A 2 Replies Last reply
      0
      • A AikinX

        Hi, Everyone. Can someone describe me what is the "stateless server"? My thoughts (I still want to get an explanation about the term above): I asked google[^]. The best definition I found is "A stateless server considers each page request independently". So, I think, the main accent is that the stateless server doesn't do any differences between users' requests. It thinks like every request is a new, from a new user. Let's imagine a google search server that only search functionality, a very-very simple search functionality: just go to an "indexed sites DB" for results. Is that one a stateless? I think -- yes. Because it doesn't bother itself with questions: "Is that user a new, what he did last time,...". It just parses the request, goes to the DB and answers. It uses no information about last requests, so "considers each page request independently". Am I right? Thanks, Aikin

        A Offline
        A Offline
        AikinX
        wrote on last edited by
        #3

        Stop, I've just realized. The Google seacher is not a server. It is an application running into the server No, more questions, thanks.

        1 Reply Last reply
        0
        • L led mike

          AikinX wrote:

          Am I right?

          Your statements are to specific. Stateless[^] In computer science, stateless refers to a system or protocol which does not keep a persistent state between transactions.

          led mike

          A Offline
          A Offline
          AikinX
          wrote on last edited by
          #4

          Yes, I saw this definition, but it told me nothing else :)

          L 1 Reply Last reply
          0
          • A AikinX

            Yes, I saw this definition, but it told me nothing else :)

            L Offline
            L Offline
            led mike
            wrote on last edited by
            #5

            AikinX wrote:

            but it told me nothing else

            There is nothing else to your question. Each server is different but Stateless means Stateless, period.

            led mike

            1 Reply Last reply
            0
            • L led mike

              AikinX wrote:

              Am I right?

              Your statements are to specific. Stateless[^] In computer science, stateless refers to a system or protocol which does not keep a persistent state between transactions.

              led mike

              A Offline
              A Offline
              AikinX
              wrote on last edited by
              #6

              I re-read the definition and found that this one is a definition for stateless, not for stateless server. I didn't saw that before. It is a very useful one. Thanks. But I don't think it is fully related to a "stateless server", because the one doesn't have it's own "persistent state". A server is a container for applications that are ran into the one. So It can only provide underlying applications with a more usable request to clients. Yes, it can store some information, but not for itself -- for it's applications. So, I think is better to use it's own definition: a stateless server[^] A stateless server is a server that treats each request as an independent transaction that is unrelated to any previous request. Although this definition is very useful to understand next ones: a stateless application, a stateless session, ... Thanks again, led mike.

              L 1 Reply Last reply
              0
              • A AikinX

                I re-read the definition and found that this one is a definition for stateless, not for stateless server. I didn't saw that before. It is a very useful one. Thanks. But I don't think it is fully related to a "stateless server", because the one doesn't have it's own "persistent state". A server is a container for applications that are ran into the one. So It can only provide underlying applications with a more usable request to clients. Yes, it can store some information, but not for itself -- for it's applications. So, I think is better to use it's own definition: a stateless server[^] A stateless server is a server that treats each request as an independent transaction that is unrelated to any previous request. Although this definition is very useful to understand next ones: a stateless application, a stateless session, ... Thanks again, led mike.

                L Offline
                L Offline
                led mike
                wrote on last edited by
                #7

                AikinX wrote:

                But I don't think it is fully related to a "stateless server"

                It is definitely fully related. In the context of "a server" the definition of "stateless" does NOT change.

                AikinX wrote:

                A server is a container for applications that are ran into the one.

                No. It can be but the word "server" is not limited to that. In client-server architecture "server" refers to the process that services the clients. However there is a non client-server architecture use of a server process that may not service clients at all. It may not receive requests of any kind.

                led mike

                1 Reply Last reply
                0
                Reply
                • Reply as topic
                Log in to reply
                • Oldest to Newest
                • Newest to Oldest
                • Most Votes


                • Login

                • Don't have an account? Register

                • Login or register to search.
                • First post
                  Last post
                0
                • Categories
                • Recent
                • Tags
                • Popular
                • World
                • Users
                • Groups