Browse Definitions :
Definition

stateful app

A stateful app is a program that saves client data from the activities of one session for use in the next session. The data that is saved is called the application’s state.

Apps can be stateful or stateless. When an app is stateful, client data is either stored locally or on a remote host until the user logs out or the session expires after a predetermined time limit. The session data that is saved to persistent disk storage is accessible to the server, to the client and to other applications.

HTTP, on the other hand, is inherently stateless. A web server does not retain information from multiple sessions, so when a state is needed for a web app, it must be built in. If desired, stateful features can be built in with dynamic pages. These pages can retain sessions by way of web address variables and server- and client-side stored data. Cookies are a common way such data is stored.

Most desktop applications and operating systems are stateful. In the early days of cloud computing, however, developers were encouraged to build stateless apps, because stateful apps didn't scale well in the cloud's distributed, virtualized architecture. Limiting data stores to specific locations was difficult in an environment where virtual machines themselves were stateless; the result was that stateful apps moved straight to the cloud often became unstable.

Containerization may be changing that. This OS-level virtualization method for deploying and running distributed applications, without launching an entire VM for each application, allows files to be pulled into the container on startup, and persist somewhere else when containers stop and start. Google's Kubernetes 1.3, for example, adds support for stateful applications in a product called Pet Sets, which allows for hosts to be named and persist beyond container restarts. FlexVolume and Mesos also provide persistent volumes for containers' state data.

This was last updated in April 2018

Continue Reading About stateful app

Networking
  • network interface card (NIC)

    A network interface card (NIC) is a hardware component, typically a circuit board or chip, installed on a computer so it can ...

  • User Datagram Protocol (UDP)

    User Datagram Protocol (UDP) is a communications protocol primarily used to establish low-latency and loss-tolerating connections...

  • Telnet

    Telnet is a network protocol used to virtually access a computer and provide a two-way, collaborative and text-based ...

Security
  • advanced persistent threat (APT)

    An advanced persistent threat (APT) is a prolonged and targeted cyber attack in which an intruder gains access to a network and ...

  • Mitre ATT&CK framework

    The Mitre ATT&CK (pronounced miter attack) framework is a free, globally accessible knowledge base that describes the latest ...

  • timing attack

    A timing attack is a type of side-channel attack that exploits the amount of time a computer process runs to gain knowledge about...

CIO
HRSoftware
  • employee resource group (ERG)

    An employee resource group is a workplace club or more formally realized affinity group organized around a shared interest or ...

  • employee training and development

    Employee training and development is a set of activities and programs designed to enhance the knowledge, skills and abilities of ...

  • employee sentiment analysis

    Employee sentiment analysis is the use of natural language processing and other AI techniques to automatically analyze employee ...

Customer Experience
  • customer profiling

    Customer profiling is the detailed and systematic process of constructing a clear portrait of a company's ideal customer by ...

  • customer insight (consumer insight)

    Customer insight, also known as consumer insight, is the understanding and interpretation of customer data, behaviors and ...

  • buyer persona

    A buyer persona is a composite representation of a specific type of customer in a market segment.

Close