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
Security
CIO
  • prototyping model

    The prototyping model is a systems development method in which a prototype is built, tested and then reworked as necessary until ...

  • digital ecosystem

    A digital ecosystem is a group of interconnected information technology resources that can function as a unit.

  • procurement plan

    A procurement plan -- also called a procurement management plan -- is a document that is used to manage the process of finding ...

HRSoftware
  • talent pipeline

    A talent pipeline is a pool of candidates who are ready to fill a position.

  • recruitment process outsourcing (RPO)

    Recruitment process outsourcing (RPO) is when an employer turns the responsibility of finding potential job candidates over to a ...

  • human resources (HR) generalist

    A human resources generalist is an HR professional who handles the daily responsibilities of talent management, employee ...

Customer Experience
  • outbound marketing

    Outbound marketing is a traditional form of marketing in which an organization initiates contact with potential customers, or ...

  • churn rate

    Churn rate is a measure of the number of customers or employees who leave a company during a given period.

  • marketing campaign management

    Marketing campaign management is the planning, executing, tracking and analysis of direct marketing campaigns.

Close