Browse Definitions:
Definition

stateful app

Contributor(s): Matthew Haughn

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

Stateful and stateless are terms that identify whether an application is designed to note and remember one or more preceding events from previous interactions with a user, a device or another application or external element. Stateful apps store data from previous sessions, limiting the data that needs to be stored on the client end and retaining information on the server from one use to the next. This data may store user login information, preferences, variables for web service functions and more.

Stateful apps are used where operations that depend on previous sessions are common. Local PC applications, for example, are commonly stateful. The operating systems that applications run on are also typically stateful.

As HTTP is inherently stateless, if state is needed for web apps, it must be built into them. Stateless apps can be great for static pages, which serve the same content regardless of users. 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 and flash cookies are two ways such data might be stored. With stateful apps, a login session’s information is generally preserved until the session is logged out or expires with a predetermined time limit.

In web applications and especially cloud-based usage, stateful apps are becoming less common. This decline is partially because the commonly resulting file dependencies can cause complications in deployment for scalable apps. The I/O created by the requirements of remembering a session for stateful apps also makes for additional bandwidth and CPU overhead for servers.  These complications are of particular concern in cloud environments and can restrict scalability by limiting data stores to specific locations.

This was last updated in September 2017

Continue Reading About stateful app

Start the conversation

Send me notifications when other members comment.

By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Please create a username to comment.

-ADS BY GOOGLE

File Extensions and File Formats

SearchCompliance

  • internal audit (IA)

    An internal audit (IA) is an organizational initiative to monitor and analyze its own business operations in order to determine ...

  • pure risk (absolute risk)

    Pure risk, also called absolute risk, is a category of threat that is beyond human control and has only one possible outcome if ...

  • risk assessment

    Risk assessment is the identification of hazards that could negatively impact an organization's ability to conduct business.

SearchSecurity

  • principle of least privilege (POLP)

    The principle of least privilege (POLP), an important concept in computer security, is the practice of limiting access rights for...

  • identity management (ID management)

    Identity management (ID management) is the organizational process for identifying, authenticating and authorizing individuals or ...

  • zero-day (computer)

    A zero-day vulnerability, also known as a computer zero day, is a flaw in software, hardware or firmware that is unknown to the ...

SearchHealthIT

SearchDisasterRecovery

  • business continuity and disaster recovery (BCDR)

    Business continuity and disaster recovery (BCDR) are closely related practices that describe an organization's preparation for ...

  • business continuity plan (BCP)

    A business continuity plan (BCP) is a document that consists of the critical information an organization needs to continue ...

  • call tree

    A call tree -- sometimes referred to as a phone tree -- is a telecommunications chain for notifying specific individuals of an ...

SearchStorage

SearchSolidStateStorage

  • hybrid hard disk drive (HDD)

    A hybrid hard disk drive is an electromechanical spinning hard disk that contains some amount of NAND Flash memory.

Close