Wednesday, April 11, 2018

Word of the Day: stateful app

Word of the Day WhatIs.com
Daily updates on the latest technology terms |April 11, 2018
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.

Quote of the Day

"While it's difficult to provide hard-and-fast recommendations on how to manage stateful apps in the cloud, there is one universal rule: Never save data within an application component as a program variable." - Tom Nolle

 

Trending Terms

stateless
Web app
stateless app
Kubernetes
flash cookies
scalability

 
Learning Center

Four options to manage stateful apps in the cloud
A number of factors complicate the management of stateful apps in cloud computing. Review four ways, ranging from load balancing to orchestration, to overcome these challenges.

Stateful applications spark container management debate
Stateful applications are the subject of container management controversy, as enterprises move third-party and legacy apps to new IT architectures.

Containers vs. serverless: IT orgs seek ideal abstraction layer
The containers vs. serverless debate has heated up over the course of 2017, as IT pros search for a balance between control over infrastructure and ease of use.

Kubernetes storage projects dominate CNCF docket
The CNCF will host a Kubernetes storage project, called Rook, as it kicks off plans to improve the container orchestrator's distributed storage features.

Security, stateful app features mark enterprise-friendly Kubernetes release
Kubernetes 1.7 adds new security features and broader support for stateful apps that are sure to appeal to the coveted enterprise market.

Writing for Business

In Kubernetes, a replication controller scales containers horizontally, ensuring there are more or ________ containers to meet the overall application's computing needs.
A. less
B. fewer
Answer

 

Stay In Touch
For feedback about any of our definitions or to suggest a new definition, please contact me at: mrouse@techtarget.com

 

Visit the Word of the Day Archives and catch up on what you've missed!

 

FOLLOW US

TwitterRSS
About This E-Newsletter
This e-newsletter is published by the TechTarget network. To unsubscribe from Whatis.com, click here. Please note, this will not affect any other subscriptions you have signed up for.
TechTarget

TechTarget, Whatis, 275 Grove Street, Newton, MA 02466. Contact: webmaster@techtarget.com

Copyright 2018 TechTarget. All rights reserved.

No comments: