Tuesday, May 2, 2017

Word of the Day: stateless app

Word of the Day WhatIs.com
Daily updates on the latest technology terms |May 2, 2017
stateless app

A stateless app is an application program that does not save client data generated in one session for use in the next session with that client. Each session is carried out as if it was the first time and responses are not dependent upon data from a previous session. In contrast, a stateful application saves data about each client session and uses that data the next time the client makes a request.

When an application is stateless, the server does not store any state about the client session. Instead, the session data is stored on the client and passed to the server as needed. This is an important consideration when developing apps with offline first in mind. In this approach to software development, session data is stored locally on the end user's device when internet connectivity is unavailable and uploaded and replicated in the cloud when a connection becomes available.

The distributed architecture that makes horizontal scalability possible in cloud computing has driven renewed interest in stateless apps and stateless app components. One reason is because when an app's components are stateless, they can easily be redeployed in the event of a failure and scaled out to accommodate load changes. Another reason is that when apps are stateless, they can easily be connected to other apps through application program interfaces (APIs).

Functional programming, which is often used for microservices and containerization, has also driven interest in stateless apps. Functional programming is an approach to software development that uses very small segments of immutable code. Each function executes its task as if it was for the very first time and is aware of, but not dependent upon, other functions in the program. Because all the program's parts are stateless, programmers can assemble functions in multiple ways without having to worry about dependencies breaking the program.

Quote of the Day

"Stateless apps can scale more gracefully in containers, which are a perfect fit for microservices." - Beth Pariseau

 

Trending Terms

containerization
horizontal scalability
offline first
Elastic Load Balancing
persistent storage

 
Learning Center

IT industry grapples with Docker container persistent storage
Enterprises are mostly perplexed about Docker container persistent storage, as startups strive to earn their trust.

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.

Container technology's role in storage
Container technology is starting to be deployed more often in data centers today. Now companies should focus on container storage.

Working with microservices framework still a challenge in 2016
Tom Nolle examines how the microservices framework evolved in 2016 and the impacts it has had on enterprise development efforts.

Application containers continue data center invasion
The movement behind application containers doesn't appear to be slowing down anytime soon, but rather is picking up steam.

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 2016 TechTarget. All rights reserved.

No comments: